From be05eab690d04dfeae124be8d3141b42d0a28a0e Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Wed, 2 Apr 2003 20:57:48 +0000 Subject: [PATCH] wxMotif does not have wxBitmapDataObject. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/image/image.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 703ef304c4..3dfe14841f 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -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)) { -- 2.45.2