X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ac7ad70d4c6d7db2ab9e01a4662611f2a706b6fe:/include/wx/msw/tbar95.h diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index ee0cca98df..daa168e3d6 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -70,6 +70,11 @@ public: static WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height); + // override WndProc mainly to process WM_SIZE + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + protected: // common part of all ctors void Init(); @@ -98,12 +103,8 @@ protected: const wxString& longHelp); virtual wxToolBarToolBase *CreateTool(wxControl *control); - // override WndProc mainly to process WM_SIZE - virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - // return the appropriate size and flags for the toolbar control virtual wxSize DoGetBestSize() const; - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; // handlers for various events bool HandleSize(WXWPARAM wParam, WXLPARAM lParam); @@ -117,6 +118,9 @@ protected: // unneeded void CreateDisabledImageList(); + // get the Windows toolbar style of this control + long GetMSWToolbarStyle() const; + // the big bitmap containing all bitmaps of the toolbar buttons WXHBITMAP m_hBitmap;