X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1be7a35c5ec31b6cfcab9d969c7969586441a945..7ef2c8e163589ff1ebe3a219f0985920cd61d25d:/include/wx/statbmp.h diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index 73f773c9f8..b80459f3ff 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -20,7 +20,7 @@ #include "wx/bitmap.h" #include "wx/icon.h" -extern WXDLLEXPORT_DATA(const wxChar) wxStaticBitmapNameStr[]; +extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[]; // a control showing an icon or a bitmap class WXDLLEXPORT wxStaticBitmapBase : public wxControl @@ -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)