Browse Source

wxGUI/iclass: fix toolbars order on Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49831 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
94f4d69c0d
1 changed files with 4 additions and 3 deletions
  1. 4 3
      gui/wxpython/iclass/frame.py

+ 4 - 3
gui/wxpython/iclass/frame.py

@@ -94,9 +94,11 @@ class IClassMapFrame(DoubleMapFrame):
         #
         
         toolbarsCopy = toolbars[:]
-        self.AddToolbar(toolbarsCopy.pop(0))
         if sys.platform == 'win32':
+            self.AddToolbar(toolbarsCopy.pop(1))
             toolbarsCopy.reverse()
+        else:
+            self.AddToolbar(toolbarsCopy.pop(0))
         for toolb in toolbarsCopy:
             self.AddToolbar(toolb)
         self.firstMapWindow.SetToolbar(self.toolbars['vdigit'])
@@ -349,8 +351,7 @@ class IClassMapFrame(DoubleMapFrame):
     def GetMapToolbar(self):
         """!Returns toolbar with zooming tools"""
         return self.toolbars['iClassMap']
-    
-        
+
     def OnZoomMenu(self, event):
         """!Popup Zoom menu """
         zoommenu = wx.Menu()