Small distrib changes,
Use GTK's native insert for wxListBox, Compile pacthes for AIX, wxClipboard things, Ignore wxSIZE_AUTO flags in wxDialog and wxFrame, Ignore toolbar size in wxFrame::Get/SetClientSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,7 +54,7 @@ bool wxCheckListBox::IsChecked( int index ) const
|
||||
|
||||
wxString str = wxString(label->label,*wxConvCurrent);
|
||||
|
||||
return (str[1] == wxT('X'));
|
||||
return (str.GetChar(1) == wxT('X'));
|
||||
}
|
||||
|
||||
wxFAIL_MSG(wxT("wrong checklistbox index"));
|
||||
@@ -73,7 +73,7 @@ void wxCheckListBox::Check( int index, bool check )
|
||||
|
||||
wxString str = wxString(label->label,*wxConvCurrent);
|
||||
|
||||
if (check == (str[1] == wxT('X'))) return;
|
||||
if (check == (str.GetChar(1) == wxT('X'))) return;
|
||||
|
||||
if (check)
|
||||
str.SetChar( 1, wxT('X') );
|
||||
|
Reference in New Issue
Block a user