X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0b9ad2982c05e79f8e221a16e0622233a324bdb..29c99ad3597ad722ed540b1e600f3ae3afe0f872:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index db1d8b11d3..84857d996f 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -98,12 +98,6 @@ bool wxStaticBitmap::Create(wxWindow *parent, long style, const wxString& name) { - // default border for this control is none - if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT ) - { - style |= wxBORDER_NONE; - } - if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; @@ -140,6 +134,11 @@ bool wxStaticBitmap::Create(wxWindow *parent, return TRUE; } +wxBorder wxStaticBitmap::GetDefaultBorder() const +{ + return wxBORDER_NONE; +} + WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const { WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle);