]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 24 Jul 2003 20:06:02 +0000 (20:06 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 24 Jul 2003 20:06:02 +0000 (20:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/prntbase.h
src/common/prntbase.cpp

index 067ba6e9a01d2ff3cc35cff734a1c697de55037b..4e13fcd4ac187bd8865a7027dc6e0a739e526375 100644 (file)
@@ -274,7 +274,7 @@ public:
     void OnLast();
     void OnGoto();
     void OnPrint();
-    void OnPrint(wxCommandEvent& WXUNUSED(event)) { OnPrint(); }
+    void OnPrintButton(wxCommandEvent& WXUNUSED(event)) { OnPrint(); }
     void OnNextButton(wxCommandEvent & WXUNUSED(event)) { OnNext(); }
     void OnPreviousButton(wxCommandEvent & WXUNUSED(event)) { OnPrevious(); }
     void OnFirstButton(wxCommandEvent & WXUNUSED(event)) { OnFirst(); }
index 59a2bc634f28714acd997bd71c9930f1ed5ee848..8ab4583a892fbe174b9d7ad0fe04ac278a20bce6 100644 (file)
@@ -286,7 +286,7 @@ void wxPreviewCanvas::OnChar(wxKeyEvent &event)
 
 BEGIN_EVENT_TABLE(wxPreviewControlBar, wxPanel)
     EVT_BUTTON(wxID_PREVIEW_CLOSE,    wxPreviewControlBar::OnWindowClose)
-    EVT_BUTTON(wxID_PREVIEW_PRINT,    wxPreviewControlBar::OnPrint)
+    EVT_BUTTON(wxID_PREVIEW_PRINT,    wxPreviewControlBar::OnPrintButton)
     EVT_BUTTON(wxID_PREVIEW_PREVIOUS, wxPreviewControlBar::OnPreviousButton)
     EVT_BUTTON(wxID_PREVIEW_NEXT,     wxPreviewControlBar::OnNextButton)
     EVT_BUTTON(wxID_PREVIEW_FIRST,    wxPreviewControlBar::OnFirstButton)