Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv26509
Modified Files:
MainDlg.cpp
Log Message:
Re-added missing toolbar button separators in case of wxMSW vertical or wxMac toolbars.
Index: MainDlg.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/MainDlg.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- MainDlg.cpp 30 Dec 2003 13:33:11 -0000 1.57
+++ MainDlg.cpp 14 Jan 2004 10:05:50 -0000 1.58
@@ -397,6 +397,7 @@
wxITEM_NORMAL, _("Connect to random server"),
_("Connect to random server")
);
+ tb->AddSeparator();
}
/* On wxGTK, we can use custom control in both toolbar positions */
#elif defined(__WXGTK__)
@@ -418,6 +419,7 @@
wxITEM_NORMAL, _("Connect to random server"),
_("Connect to random server")
);
+ tb->AddSeparator();
#endif
/* Go through list of our pages and add all of them */
@@ -460,6 +462,7 @@
images.Clear();
names.Clear();
} else {
+ tb->AddSeparator();
tb->AddTool(
ID_BTN_GUISETTINGS, _("Options"),
img->GetImage(wxT("btn_guisettings")),
@@ -481,6 +484,7 @@
names.Clear();
/* Anywhere else, custom controls in toolbar aren't supported at all */
#else
+ tb->AddSeparator();
tb->AddTool(
ID_BTN_GUISETTINGS, _("Options"),
img->GetImage(wxT("btn_guisettings")),
|