X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..1afad0ac74765ede24df7f069b41e3595dd1c605:/include/wx/statbmp.h diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index 24281700b4..72934c25e6 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -20,10 +20,10 @@ #include "wx/bitmap.h" #include "wx/icon.h" -extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBitmapNameStr[]; // a control showing an icon or a bitmap -class WXDLLEXPORT wxStaticBitmapBase : public wxControl +class WXDLLIMPEXP_CORE wxStaticBitmapBase : public wxControl { public: wxStaticBitmapBase() { } @@ -45,6 +45,9 @@ public: virtual bool HasTransparentBackground() { return true; } protected: + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + virtual wxSize DoGetBestSize() const; DECLARE_NO_COPY_CLASS(wxStaticBitmapBase)