Added zillions of #if wxUSE_XXX
Removed cmndlgs usage of wxSizer and constraints Changed occurences of wxConv_xxx to wxConvXxxx and changed some wxConvLibc to wxConvCurrent Added Unicode tests to typetests (not finished) Compile fix for wxString in Unicode mode - we have to use the "experimental" printf then, I guess. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -251,7 +251,7 @@ int wxChoice::FindString( const wxString &string ) const
|
||||
|
||||
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
|
||||
|
||||
if (string == wxString(label->label,*wxConv_current))
|
||||
if (string == wxString(label->label,*wxConvCurrent))
|
||||
return count;
|
||||
|
||||
child = child->next;
|
||||
@@ -304,7 +304,7 @@ wxString wxChoice::GetString( int n ) const
|
||||
|
||||
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
|
||||
|
||||
return wxString(label->label,*wxConv_current);
|
||||
return wxString(label->label,*wxConvCurrent);
|
||||
}
|
||||
child = child->next;
|
||||
count++;
|
||||
@@ -323,7 +323,7 @@ wxString wxChoice::GetStringSelection() const
|
||||
|
||||
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
|
||||
|
||||
return wxString(label->label,*wxConv_current);
|
||||
return wxString(label->label,*wxConvCurrent);
|
||||
}
|
||||
|
||||
int wxChoice::Number() const
|
||||
|
Reference in New Issue
Block a user