]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMotif does not have wxBitmapDataObject.
authorMattia Barbon <mbarbon@cpan.org>
Wed, 2 Apr 2003 20:57:48 +0000 (20:57 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Wed, 2 Apr 2003 20:57:48 +0000 (20:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/image/image.cpp

index 703ef304c418b69a94adb7b1a1ab15206a53c111..3dfe14841fc63eaabe314f07cf488da05b5ec8d5 100644 (file)
@@ -127,7 +127,7 @@ public:
 #endif // wxHAVE_RAW_BITMAP
     void OnQuit( wxCommandEvent &event );
 
-#if wxUSE_CLIPBOARD
+#if wxUSE_CLIPBOARD && !defined(__WXMOTIF_)
     void OnCopy(wxCommandEvent& event);
     void OnPaste(wxCommandEvent& event);
 #endif // wxUSE_CLIPBOARD
@@ -814,7 +814,7 @@ BEGIN_EVENT_TABLE(MyFrame,wxFrame)
   EVT_MENU    (ID_SHOWRAW,  MyFrame::OnTestRawBitmap)
 #endif
 
-#if wxUSE_CLIPBOARD
+#if wxUSE_CLIPBOARD && !defined(__WXMOTIF__)
     EVT_MENU(wxID_COPY, MyFrame::OnCopy)
     EVT_MENU(wxID_PASTE, MyFrame::OnPaste)
 #endif // wxUSE_CLIPBOARD
@@ -837,7 +837,7 @@ MyFrame::MyFrame()
   menuImage->Append( ID_QUIT, _T("E&xit\tCtrl-Q"));
   menu_bar->Append(menuImage, _T("&Image"));
 
-#if wxUSE_CLIPBOARD
+#if wxUSE_CLIPBOARD && !defined(__WXMOTIF__)
   wxMenu *menuClipboard = new wxMenu;
   menuClipboard->Append(wxID_COPY, _T("&Copy test image\tCtrl-C"));
   menuClipboard->Append(wxID_PASTE, _T("&Paste image\tCtrl-V"));
@@ -894,7 +894,7 @@ void MyFrame::OnTestRawBitmap( wxCommandEvent &event )
 
 #endif // wxHAVE_RAW_BITMAP
 
-#if wxUSE_CLIPBOARD
+#if wxUSE_CLIPBOARD && !defined(__WXMOTIF__)
 
 void MyFrame::OnCopy(wxCommandEvent& WXUNUSED(event))
 {