]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/renderer.cpp
falling back to wxImage handler
[wxWidgets.git] / src / gtk / renderer.cpp
index aa02feb1935a5fa4b989927b7e4e98d9d8838efe..952cfeb3e4eae0600bc4c7c28774410dbc2f5ea9 100644 (file)
     #pragma hdrstop
 #endif
 
-#ifndef WX_PRECOMP
-#endif // WX_PRECOMP
-
+#include "wx/renderer.h"
 #include <gtk/gtk.h>
 #include "wx/gtk/win_gtk.h"
 
 #include "wx/window.h"
 #include "wx/dc.h"
-#include "wx/renderer.h"
 
 #ifdef __WXGTK20__
     #include "wx/settings.h"
@@ -356,7 +353,7 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
         rect.y,
         rect.width,
         rect.height,
-        isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
+        !isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
     );
 #else // GTK+ 1.x