]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/tbar95.h
wxWindow::GetBestSize() added
[wxWidgets.git] / include / wx / msw / tbar95.h
index 19d1093b3c189bef5f218c38d6796c62984ef1ad..d137c39693fc60ec808c15240e7601802d9cb906 100644 (file)
@@ -88,7 +88,25 @@ protected:
     WXHBITMAP m_hBitmap;
 
     DECLARE_EVENT_TABLE()
     WXHBITMAP m_hBitmap;
 
     DECLARE_EVENT_TABLE()
-    DECLARE_DYNAMIC_CLASS(wxToolBar95)
+};
+
+class WXDLLEXPORT wxToolBar : public wxToolBar95
+{
+public:
+    wxToolBar() { }
+
+    wxToolBar(wxWindow *parent,
+              wxWindowID id,
+              const wxPoint& pos = wxDefaultPosition,
+              const wxSize& size = wxDefaultSize,
+              long style = wxNO_BORDER | wxTB_HORIZONTAL,
+              const wxString& name = wxToolBarNameStr)
+        : wxToolBar95(parent, id, pos, size, style, name)
+    {
+    }
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxToolBar)
 };
 
 #endif // wxUSE_TOOLBAR
 };
 
 #endif // wxUSE_TOOLBAR