X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0b5881aeaef69976ed1693ab0423187a8bcd53c..5fe302ef74b16d8fac0d9458d4658ea5143caaa6:/src/palmos/control.cpp diff --git a/src/palmos/control.cpp b/src/palmos/control.cpp index bf5e892cd4..2211ff1537 100644 --- a/src/palmos/control.cpp +++ b/src/palmos/control.cpp @@ -37,11 +37,11 @@ #include "wx/button.h" #include "wx/checkbox.h" #include "wx/radiobut.h" + #include "wx/slider.h" + #include "wx/toplevel.h" #endif -#include "wx/toplevel.h" #include "wx/tglbtn.h" -#include "wx/slider.h" #include #include @@ -152,7 +152,7 @@ bool wxControl::PalmCreateControl(int style, m_palmControl = true; - SetInitialBestSize(size); + SetInitialSize(size); SetLabel(label); Show(); return true; @@ -202,7 +202,7 @@ bool wxControl::PalmCreateField(const wxString& label, m_palmField = true; - SetInitialBestSize(size); + SetInitialSize(size); SetLabel(label); Show(); return true;