+ // 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);
+ bool HandlePaint(WXWPARAM wParam, WXLPARAM lParam);
+ void HandleMouseMove(WXWPARAM wParam, WXLPARAM lParam);
+