]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
remove default wxDC ctor to make it impossible to construct DCs without the associate...
[wxWidgets.git] / include / wx / univ / toplevel.h
index 17681cfd9aa9f64f5fbfb1b072c0a6cbe398446c..aace185fbded88b9a0d1f18ca9e4956557679c71 100644 (file)
@@ -122,7 +122,7 @@ public:
     // decorations anyhow and that by default native decorations are used
     //
     // if UseNativeDecorations() is used, it must be called before Create()
-    static UseNativeDecorationsByDefault(bool native = true);
+    static void UseNativeDecorationsByDefault(bool native = true);
     void UseNativeDecorations(bool native = true);
     bool IsUsingNativeDecorations() const;
 
@@ -130,7 +130,6 @@ public:
     // implement base class pure virtuals
     virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
     virtual wxPoint GetClientAreaOrigin() const;
-    virtual void SetIcon(const wxIcon& icon) { SetIcons( wxIconBundle( icon ) ); }
     virtual void SetIcons(const wxIconBundle& icons);
 
     // implementation from now on
@@ -152,8 +151,7 @@ public:
     // move/resize the frame interactively, i.e. let the user do it
     virtual void InteractiveMove(int flags = wxINTERACTIVE_MOVE);
 
-    virtual int GetMinWidth() const;
-    virtual int GetMinHeight() const;
+    virtual wxSize GetMinSize() const;
 
     virtual wxWindow *GetInputWindow() const { return wx_const_cast(wxTopLevelWindow*, this); }