]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statbmp.h
added wxMOTIF_STR() macro casting away string literal constness for use with Motif...
[wxWidgets.git] / include / wx / univ / statbmp.h
index 0a69f1e236bf5def1aeacc176bbcb6d44db8b498..b449ce6ff4d1afaad28b13d5f8bd4b20adfab1b3 100644 (file)
@@ -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);