X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fca36d9a0301c9bff307361f1f94048897ce2ae5..e8332ccfe0cf1653b257d46d5c41339e2b2da438:/contrib/include/wx/gizmos/statpict.h diff --git a/contrib/include/wx/gizmos/statpict.h b/contrib/include/wx/gizmos/statpict.h index 942d6d2b6b..d488a99201 100644 --- a/contrib/include/wx/gizmos/statpict.h +++ b/contrib/include/wx/gizmos/statpict.h @@ -57,8 +57,8 @@ public: long style = 0, const wxString& name = wxStaticPictureNameStr ); - virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; - virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; + virtual void Command(wxCommandEvent& WXUNUSED(event)) {} + virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event)) {return true;} void OnPaint(wxPaintEvent& event); void SetBitmap( const wxBitmap& bmp ); @@ -109,7 +109,7 @@ public: ScaleY = sy; } - int GetCustomScale( float* sx, float* sy ) const + void GetCustomScale( float* sx, float* sy ) const { *sx = ScaleX; *sy = ScaleY;