]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wince/tbarwce.h
#4479: wx.ComboBox needs a SetFont method
[wxWidgets.git] / include / wx / msw / wince / tbarwce.h
index d9fefa88cce32575f02bef4090bc96c6f0b3a1b1..0a811b6911b978a21f328b586e53d128e68343f2 100644 (file)
 #ifndef _WX_BARWCE_H_
 #define _WX_BARWCE_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "tbarwce.h"
-#endif
-
 #if wxUSE_TOOLBAR
 
 #include "wx/dynarray.h"
@@ -23,7 +19,7 @@
 // Smartphones don't have toolbars, so use a dummy class
 #ifdef __SMARTPHONE__
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // ctors and dtor
@@ -67,7 +63,8 @@ protected:
                                           wxObject *clientData,
                                           const wxString& shortHelp,
                                           const wxString& longHelp);
-    virtual wxToolBarToolBase *CreateTool(wxControl *control);
+    virtual wxToolBarToolBase *CreateTool(wxControl *control,
+                                          const wxString& label);
 
 private:
     DECLARE_EVENT_TABLE()
@@ -81,7 +78,7 @@ private:
 
 #include "wx/msw/tbar95.h"
 
-class WXDLLEXPORT wxToolMenuBar : public wxToolBar
+class WXDLLIMPEXP_CORE wxToolMenuBar : public wxToolBar
 {
 public:
     // ctors and dtor
@@ -152,7 +149,8 @@ protected:
                                           wxObject *clientData,
                                           const wxString& shortHelp,
                                           const wxString& longHelp);
-    virtual wxToolBarToolBase *CreateTool(wxControl *control);
+    virtual wxToolBarToolBase *CreateTool(wxControl *control,
+                                          const wxString& label);
 
     // The menubar associated with this toolbar
     wxMenuBar*  m_menuBar;