]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Fixed context menu in wxRichTextCtrl
[wxWidgets.git] / include / wx / tbarbase.h
index 96920150b99c5cd2cf8687b4ab28eb9326bd75ce..47ccd84a01c00e1a7bab91556bd5d3a4cdb2a2aa 100644 (file)
@@ -24,9 +24,9 @@
 #include "wx/list.h"
 #include "wx/control.h"
 
-class WXDLLEXPORT wxToolBarBase;
-class WXDLLEXPORT wxToolBarToolBase;
-class WXDLLEXPORT wxImage;
+class WXDLLIMPEXP_FWD_CORE wxToolBarBase;
+class WXDLLIMPEXP_FWD_CORE wxToolBarToolBase;
+class WXDLLIMPEXP_FWD_CORE wxImage;
 
 // ----------------------------------------------------------------------------
 // constants
@@ -77,7 +77,7 @@ public:
         m_tbar = tbar;
         m_id = toolid;
         if (m_id == wxID_ANY)
-            m_id = wxNewId();
+            m_id = wxWindow::NewControlId();
         m_clientData = clientData;
 
         m_bmpNormal = bmpNormal;