]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
invalidate best size cache when GTK style changes
[wxWidgets.git] / src / msw / window.cpp
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()
 
 // ===========================================================================