#include "wx/bitmap.h"
#include "wx/image.h"
+#include "wx/gizmos/gizmos.h"
+
enum
{
wxSCALE_HORIZONTAL = 0x1,
//WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBitmapNameStr;
extern const wxChar* wxStaticPictureNameStr;
-class /*WXDLLEXPORT*/ wxStaticPicture : public wxControl
+class WXDLLIMPEXP_GIZMOS wxStaticPicture : public wxControl
{
DECLARE_DYNAMIC_CLASS(wxStaticPicture)
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 );
ScaleY = sy;
}
- int GetCustomScale( float* sx, float* sy ) const
+ void GetCustomScale( float* sx, float* sy ) const
{
*sx = ScaleX;
*sy = ScaleY;