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:
Robert Roebling
1999-06-14 23:04:05 +00:00
parent 9f50f9f1a1
commit dcf924a345
119 changed files with 845 additions and 410 deletions

View File

@@ -13,6 +13,8 @@
#include "wx/checklst.h"
#if wxUSE_CHECKLISTBOX
#include "gdk/gdk.h"
#include "gtk/gtk.h"
@@ -69,7 +71,7 @@ void wxCheckListBox::Check( int index, bool check )
GtkBin *bin = GTK_BIN( child->data );
GtkLabel *label = GTK_LABEL( bin->child );
wxString str = wxString(label->label,*wxConv_current);
wxString str = wxString(label->label,*wxConvCurrent);
if (check == (str[1] == _T('X'))) return;
@@ -91,3 +93,5 @@ int wxCheckListBox::GetItemHeight() const
// FIXME
return 22;
}
#endif