]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / os2 / notebook.cpp
index f1c52e8ed43da48455f6a198320c3e83f5212a3a..de5fbf8e7ad510b2adfff4bab6d853e12d929057 100644 (file)
@@ -208,7 +208,7 @@ int wxNotebook::SetSelection( size_t nPage )
 
     if (nPage != (size_t)m_selection)
     {
 
     if (nPage != (size_t)m_selection)
     {
-        wxBookCtrlEvent             vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
+        wxBookCtrlEvent             vEvent( wxEVT_NOTEBOOK_PAGE_CHANGING
                                            ,m_windowId
                                           );
 
                                            ,m_windowId
                                           );
 
@@ -221,7 +221,7 @@ int wxNotebook::SetSelection( size_t nPage )
             //
             // Program allows the page change
             //
             //
             // Program allows the page change
             //
-            vEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED);
+            vEvent.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED);
             HandleWindowEvent(vEvent);
 
             ::WinSendMsg( GetHWND()
             HandleWindowEvent(vEvent);
 
             ::WinSendMsg( GetHWND()