]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
[wxWidgets.git] / src / stc / PlatWX.cpp
index 859d11ce9aba8767013670ae0806bcbcf44a2139..db2960ad5bf7690057e5b1b3937e0c1bb75298e8 100644 (file)
@@ -675,6 +675,7 @@ void Window::SetCursor(Cursor curs) {
         break;
     case cursorHand:
         cursorId = wxCURSOR_HAND;
+        break;
     default:
         cursorId = wxCURSOR_ARROW;
         break;
@@ -888,7 +889,7 @@ PRectangle ListBoxImpl::GetDesiredRect() {
     // wxListCtrl doesn't have a DoGetBestSize, so instead we kept track of
     // the max size in Append and calculate it here...
     int maxw = maxStrWidth;
-    int maxh = 0;
+    int maxh ;
 
     // give it a default if there are no lines, and/or add a bit more
     if (maxw == 0) maxw = 100;