]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/frame.h
moved SetBestSize() to .cpp file; set min size from it
[wxWidgets.git] / include / wx / univ / frame.h
index 94f7b090b19a5eac6ea1a09da5c1068cc496e9bc..e30d470a491bb30f023b3c9ebfda8983874792dd 100644 (file)
 class WXDLLEXPORT wxFrame : public wxFrameBase
 {
 public:
-    wxFrame();
+    wxFrame() {}
     wxFrame(wxWindow *parent,
             wxWindowID id,
             const wxString& title,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxDEFAULT_FRAME_STYLE,
-            const wxString& name = wxFrameNameStr);
+            const wxString& name = wxFrameNameStr)
+    {
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,