]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/tabctrl.h
make it possible to give focus to the notebook itself (patch 811013)
[wxWidgets.git] / include / wx / msw / tabctrl.h
index 4a11d95c357e1c6fd0480dd2751feeda71b51be5..4571967de852223dcd81c759995872b421ea6733 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TABCTRL_H_
 #define _WX_TABCTRL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "tabctrl.h"
 #endif
 
@@ -150,7 +150,7 @@ private:
     int m_nSel,     // currently selected page
         m_nOldSel;  // previously selected page
 
-    DECLARE_DYNAMIC_CLASS(wxTabEvent)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxTabEvent)
 };
 
 typedef void (wxEvtHandler::*wxTabEventFunction)(wxTabEvent&);