]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
wxUSE_THREADS typo corrected
[wxWidgets.git] / src / generic / notebook.cpp
index 10b0ce683e7a65fbc56df1117cd88cb4642095b7..90782f45457acf2afbdbef48298007c9054ae4bc 100644 (file)
@@ -601,6 +601,11 @@ wxRect wxNotebook::GetAvailableClientSize()
     return rect;
 }
 
+void wxNotebook::SetTabSize(const wxSize& sz)
+{
+    // TODO
+}
+
 /*
  * wxNotebookTabView
  */
@@ -626,7 +631,12 @@ void wxNotebookTabView::OnTabActivate(int activateId, int deactivateId)
   if (!m_notebook)
     return;
 
+// Because of name truncation!
+#if defined(__BORLANDC__) && defined(__WIN16__)
+  wxNotebookEvent event(wxEVT_COMMAND_NB_PAGE_CHANGED, m_notebook->GetId());
+#else
   wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, m_notebook->GetId());
+#endif
 
   // Translate from wxTabView's ids (which aren't position-dependent)
   // to wxNotebook's (which are).