X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/univ/statbmp.h?ds=inline diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index 60ad9441fa..b449ce6ff4 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -22,7 +22,7 @@ // wxStaticBitmap // ---------------------------------------------------------------------------- -class wxStaticBitmap : public wxStaticBitmapBase +class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase { public: wxStaticBitmap() @@ -35,7 +35,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0) { - Create(parent, -1, label, pos, size, style); + Create(parent, wxID_ANY, label, pos, size, style); } wxStaticBitmap(wxWindow *parent, @@ -63,7 +63,7 @@ public: wxIcon GetIcon() const; - virtual bool HasTransparentBackground() { return TRUE; } + virtual bool HasTransparentBackground() { return true; } private: virtual void DoDraw(wxControlRenderer *renderer);