]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/listbox.cpp
reverted DrawRotatedText change, it's broken
[wxWidgets.git] / src / univ / listbox.cpp
index 1ece01a74bc13c6357450a6f71a669f1ab53498e..c586b15801f016a773b7926b8a2dd6e67c697797 100644 (file)
@@ -135,7 +135,7 @@ bool wxListBox::Create(wxWindow *parent,
         style |= wxBORDER_SUNKEN;
 #endif
 
-    if ( !wxControl::Create(parent, id, pos, size, style, 
+    if ( !wxControl::Create(parent, id, pos, size, style,
                             validator, name) )
         return false;
 
@@ -1380,7 +1380,7 @@ bool wxStdListboxInputHandler::HandleKey(wxInputConsumer *consumer,
                 break;
 
             default:
-                if ( (keycode < 255) && wxIsalnum(keycode) )
+                if ( (keycode < 255) && wxIsalnum((wxChar)keycode) )
                 {
                     action = wxACTION_LISTBOX_FIND;
                     strArg = (wxChar)keycode;