Skip to content

Commit bd8c101

Browse files
committed
MyFrameMain: use Ctrl-C/Ctrl-V clipboard on Linux as well
Nowadays, some laptops don't even have a middle trackpad button. Also, this makes the Linux version more in line with the Mac and Win ones. Closes #285
1 parent 2534aa2 commit bd8c101

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/gui/MyFrameMain.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,6 @@ MyFrameMain::MyFrameMain(wxWindow* parent, int id, const wxString& title,
198198
GetToolBar()->ToggleTool(ID_ONE_TO_ONE, true);
199199
}
200200

201-
// setup clipboard
202-
#ifdef __WXGTK__
203-
// always use middle mouse button paste
204-
if(wxTheClipboard->Open())
205-
{
206-
wxTheClipboard->UsePrimarySelection(true);
207-
wxTheClipboard->Close();
208-
}
209-
#endif
210-
211-
212201
// theres no log window at startup
213202
logwindow = 0;
214203

0 commit comments

Comments
 (0)