Fix the tooltips on the debugger toolbar, and adjust the default perspective to ensur...
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Tue, 5 May 2009 11:14:04 +0000 (11:14 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Tue, 5 May 2009 11:14:04 +0000 (11:14 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7843 a7884b65-44f6-0310-8a51-81a127f17b15

pgadmin/debugger/frmDebugger.cpp
pgadmin/include/debugger/frmDebugger.h

index a9ad7bfd388047e5fb545b9e483bacc0223503d9..83e0ea9c329a5722379c3917f246b98435ca20a6 100644 (file)
@@ -256,14 +256,14 @@ ctlMenuToolbar * frmDebugger::setupToolBar( void )
 
     m_toolBar->SetToolBitmapSize( wxSize( 16, 16 ));
  
-    m_toolBar->AddTool( MENU_ID_STEP_INTO,      _( "Step into" ),               wxBitmap(stepInto_xpm));
-    m_toolBar->AddTool( MENU_ID_STEP_OVER,      _( "Step over" ),               wxBitmap(stepOver_xpm));
-    m_toolBar->AddTool( MENU_ID_CONTINUE,       _( "Continue" ),                wxBitmap(continue_xpm));
+    m_toolBar->AddTool( MENU_ID_STEP_INTO,      _( "Step into" ),               wxBitmap(stepInto_xpm), _( "Step into" ));
+    m_toolBar->AddTool( MENU_ID_STEP_OVER,      _( "Step over" ),               wxBitmap(stepOver_xpm), _( "Step over" ));
+    m_toolBar->AddTool( MENU_ID_CONTINUE,       _( "Continue" ),                wxBitmap(continue_xpm), _( "Continue" ));
     m_toolBar->AddSeparator();
-    m_toolBar->AddTool( MENU_ID_TOGGLE_BREAK,     _( "Toggle breakpoint" ),   wxBitmap(setBreak_xpm));
-    m_toolBar->AddTool( MENU_ID_CLEAR_ALL_BREAK, _( "Clear all breakpoints" ), wxBitmap(clearAll_xpm));
+    m_toolBar->AddTool( MENU_ID_TOGGLE_BREAK,     _( "Toggle breakpoint" ),   wxBitmap(setBreak_xpm), _( "Toggle breakpoint" ));
+    m_toolBar->AddTool( MENU_ID_CLEAR_ALL_BREAK, _( "Clear all breakpoints" ), wxBitmap(clearAll_xpm), _( "Clear all breakpoints" ));
     m_toolBar->AddSeparator();
-    m_toolBar->AddTool( MENU_ID_STOP,                   _( "Stop debugging" ),          wxBitmap(stop_xpm));
+    m_toolBar->AddTool( MENU_ID_STOP,                   _( "Stop debugging" ),          wxBitmap(stop_xpm), _( "Stop debugging" ));
 
     m_toolBar->EnableTool(MENU_ID_STEP_INTO,           false);
     m_toolBar->EnableTool(MENU_ID_STEP_OVER,           false);
index 5d5bd3d5da69b83ca989af2ad9b880191b4d91b6..6dc94079f49064634e654a69c4d5a1e99f29f4b8 100644 (file)
@@ -36,7 +36,7 @@
 #define FRMDEBUGGER_DEFAULT_PERSPECTIVE wxT("layout2|name=toolBar;caption=Toolbar;state=2108144;dir=1;layer=10;row=0;pos=1;prop=100000;bestw=154;besth=23;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sourcePane;caption=Source pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=stackPane;caption=Stack pane;state=2099196;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=outputPane;caption=Output pane;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=237|dock_size(2,0,0)=237|dock_size(3,0,0)=156|")
 #else
 #ifdef __WXGTK__
-#define FRMDEBUGGER_DEFAULT_PERSPECTIVE wxT("layout2|name=toolBar;caption=Toolbar;state=2108144;dir=1;layer=10;row=0;pos=1;prop=100000;bestw=195;besth=30;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sourcePane;caption=Source pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=stackPane;caption=Stack pane;state=2099196;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=outputPane;caption=Output pane;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=237|dock_size(2,0,0)=237|dock_size(3,0,0)=156|")
+#define FRMDEBUGGER_DEFAULT_PERSPECTIVE wxT("layout2|name=toolBar;caption=Toolbar;state=2108144;dir=1;layer=10;row=0;pos=1;prop=100000;bestw=205;besth=30;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sourcePane;caption=Source pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=stackPane;caption=Stack pane;state=2099196;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=outputPane;caption=Output pane;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=237|dock_size(2,0,0)=237|dock_size(3,0,0)=156|")
 #else
 #define FRMDEBUGGER_DEFAULT_PERSPECTIVE wxT("layout2|name=toolBar;caption=Toolbar;state=2108144;dir=1;layer=10;row=0;pos=1;prop=100000;bestw=154;besth=23;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sourcePane;caption=Source pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=stackPane;caption=Stack pane;state=2099196;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=outputPane;caption=Output pane;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=237|dock_size(2,0,0)=237|dock_size(3,0,0)=156|")
 #endif