]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/panedrawpl.cpp
Don't create uneeded variables.
[wxWidgets.git] / contrib / src / fl / panedrawpl.cpp
index c89914048b99a03bd232cd9831dfbc4ece7fa68a..cb292b728594194867c0f985c451a59d9b283cfd 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "panedrawpl.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -326,14 +322,14 @@ void cbPaneDrawPlugin::OnMouseMove( cbMotionEvent& event )
 
             if ( !mResizeCursorOn || prevWasRowHandle != mRowHandleHitted )
             {
+                mpLayout->GetParentFrame().SetCursor( *pCurs );
+
                 if ( !mResizeCursorOn )
                 {
                     // caputre if not captured yet
                     mpLayout->CaptureEventsForPane( event.mpPane );
                     mpLayout->CaptureEventsForPlugin( this );
                 }
-
-                mpLayout->GetParentFrame().SetCursor( *pCurs );
             }
 
             mResizeCursorOn = true;