]> git.saurik.com Git - wxWidgets.git/commitdiff
wxWindowMSW::OnInitDialog is only implemented for WinCE
authorDavid Elliott <dfe@tgwbd.org>
Wed, 28 Jul 2004 19:34:19 +0000 (19:34 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 28 Jul 2004 19:34:19 +0000 (19:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/window.h
src/msw/window.cpp

index 072c9d9651bbf0ac25bca07bed9afa18afa57bd2..68f84fae4a7f836669e7e7a07282214c170aa433 100644 (file)
@@ -163,7 +163,9 @@ public:
 
     void OnEraseBackground(wxEraseEvent& event);
     void OnPaint(wxPaintEvent& event);
+#ifdef __WXWINCE__
     void OnInitDialog( wxInitDialogEvent& event );
+#endif
 
 public:
     // For implementation purposes - sometimes decorations make the client area
index 119a50c4a8becd9dfe7729a13ae2d2c679375592..fec6a59d91a57465ce1b049f52c2f0ed571a408b 100644 (file)
@@ -339,7 +339,9 @@ wxCONSTRUCTOR_DUMMY(wxWindow)
 BEGIN_EVENT_TABLE(wxWindowMSW, wxWindowBase)
     EVT_ERASE_BACKGROUND(wxWindowMSW::OnEraseBackground)
     EVT_SYS_COLOUR_CHANGED(wxWindowMSW::OnSysColourChanged)
+#ifdef __WXWINCE__
     EVT_INIT_DIALOG(wxWindowMSW::OnInitDialog)
+#endif
 END_EVENT_TABLE()
 
 // ===========================================================================