X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/390015c0ee28d25b0b7e23c42a52733adcac334f..0ec6fd04ebd5f37220cb0d4d7c6d7256af50aee7:/include/wx/generic/statusbr.h diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index fc08061abf..fe00d93e30 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -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;