]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statusbr.h
wxMenu Review, added Carbon Events and full OSX Support
[wxWidgets.git] / include / wx / generic / statusbr.h
index fc08061abf1692d2674acc5f9e580d25b8257f7e..fe00d93e307d4f9d31184088f025d6296ccb8263 100644 (file)
@@ -92,7 +92,9 @@ public:
   void SetBorderY(int y);
 
   void OnPaint(wxPaintEvent& event);
-  void OnSize(wxSizeEvent& event);
+  
+  void OnLeftDown(wxMouseEvent& event);
+  void OnRightDown(wxMouseEvent& event);
 
   virtual void InitColours();
 
@@ -105,6 +107,8 @@ protected:
 
   wxArrayString     m_statusStrings;
 
+  // the last known width of the client rect (used to rebuild cache)
+  int               m_lastClientWidth;
   // the widths of the status bar panes in pixels
   wxArrayInt        m_widthsAbs;