]> git.saurik.com Git - wxWidgets.git/commitdiff
notebook creation bug fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 1999 01:15:40 +0000 (01:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 1999 01:15:40 +0000 (01:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index 90e4450857fb0c6c2323aabd62c543b8014648ab..cdfedb4cb3761a83f41e6bb056bcb7e2f7f9fa43 100644 (file)
@@ -68,7 +68,8 @@
   BEGIN_EVENT_TABLE(wxNotebook, wxControl)
     EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
 
-    EVT_WINDOW_CREATE(wxNotebook::OnWindowCreate)
+    // doesn't work yet EVT_WINDOW_CREATE(wxNotebook::OnWindowCreate)
+    EVT_SIZE(wxNotebook::OnWindowCreate)
 
     EVT_SET_FOCUS(wxNotebook::OnSetFocus)