X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..404b319a85dadd7decf7a5a5331020520031a41c:/src/msw/wince/choicece.cpp?ds=sidebyside diff --git a/src/msw/wince/choicece.cpp b/src/msw/wince/choicece.cpp index 0966c4276a..33d80aa13c 100644 --- a/src/msw/wince/choicece.cpp +++ b/src/msw/wince/choicece.cpp @@ -6,7 +6,7 @@ // Created: 29.07.2004 // RCS-ID: $Id$ // Copyright: (c) Wlodzimierz Skiba -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -34,12 +34,6 @@ #include "wx/spinbutt.h" // for wxSpinnerBestSize -#if wxUSE_EXTENDED_RTTI -// TODO -#else -IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl) -#endif - #define GetBuddyHwnd() (HWND)(m_hwndBuddy) #define IsVertical(wxStyle) ( (wxStyle & wxSP_HORIZONTAL) != wxSP_HORIZONTAL ) @@ -113,7 +107,7 @@ wxChoice *wxChoice::GetChoiceForListBox(WXHWND hwndBuddy) // sanity check wxASSERT_MSG( choice->m_hwndBuddy == hwndBuddy, - _T("wxChoice has incorrect buddy HWND!") ); + wxT("wxChoice has incorrect buddy HWND!") ); return choice; } @@ -169,7 +163,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent, sizeText.x -= sizeBtn.x + MARGIN_BETWEEN; if ( sizeText.x <= 0 ) { - wxLogDebug(_T("not enough space for wxSpinCtrl!")); + wxLogDebug(wxT("not enough space for wxSpinCtrl!")); } wxPoint posBtn(pos); @@ -186,7 +180,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent, m_hwndBuddy = (WXHWND)::CreateWindowEx ( exStyle, // sunken border - _T("LISTBOX"), // window class + wxT("LISTBOX"), // window class NULL, // no window title msStyle, // style (will be shown later) pos.x, pos.y, // position @@ -517,7 +511,7 @@ void wxChoice::DoMoveWindow(int x, int y, int width, int height) int widthText = width - widthBtn - MARGIN_BETWEEN; if ( widthText <= 0 ) { - wxLogDebug(_T("not enough space for wxSpinCtrl!")); + wxLogDebug(wxT("not enough space for wxSpinCtrl!")); } if ( !::MoveWindow(GetBuddyHwnd(), x, y, widthText, height, TRUE) )