X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/univ/statbmp.h diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index 0a69f1e236..b449ce6ff4 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -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);