X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/658252ef0ceb59d0a76cf414b7b78d033c16851f..f0e5a44df103e880f57416f483e8f3f4b4bc9651:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index a99586da5c..caaa395f3c 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -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(