]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Applied dir control token patch.
[wxWidgets.git] / src / msw / control.cpp
index a99586da5cb033cb7b65ce79cf15b049e8af96ee..caaa395f3c4b8f307193a95092fdeb6f93580122 100644 (file)
@@ -158,7 +158,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
         wxFAIL_MSG(wxString::Format
                    (
                     _T("CreateWindowEx(\"%s\", flags=%08x, ex=%08x) failed"),
-                    classname, style, exstyle
+                    classname, (unsigned int)style, (unsigned int)exstyle
                    ));
 #endif // __WXDEBUG__
 
@@ -212,7 +212,7 @@ wxSize wxControl::DoGetBestSize() const
 // In wxMSW it was only wxSpinCtrl derived from wxSpinButton but in
 // WinCE of Smartphones this happens also for native wxTextCtrl,
 // wxChoice and others.
-wxSize wxControl::GetBestSpinerSize(const bool is_vertical) const
+wxSize wxControl::GetBestSpinnerSize(const bool is_vertical) const
 {
     // take size according to layout
     wxSize bestSize(