]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
Set initial window size as its minimal size.
[wxWidgets.git] / include / wx / msw / listbox.h
index 2d77f86c1a8263a7dc9607ed6c644c7915042bc2..8157cbdcbdc80f33cbeecd6f50c4bfb8f43baba3 100644 (file)
@@ -133,6 +133,8 @@ public:
     virtual bool CanApplyThemeBorder() const { return false; }
 
 protected:
+    virtual wxSize DoGetBestClientSize() const;
+
     virtual void DoClear();
     virtual void DoDeleteOneItem(unsigned int n);
 
@@ -155,8 +157,6 @@ protected:
 
     unsigned int m_noItems;
 
-    virtual wxSize DoGetBestSize() const;
-
 #if wxUSE_OWNER_DRAWN
     // control items
     wxListBoxItemsArray m_aItems;