Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5031
Modified Files:
MainDlg.cpp
Log Message:
Detached frames also now have icons.
Index: MainDlg.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/MainDlg.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- MainDlg.cpp 30 Dec 2003 10:15:46 -0000 1.54
+++ MainDlg.cpp 30 Dec 2003 10:28:39 -0000 1.55
@@ -49,7 +49,7 @@
/****************************************************************** MyToolBar */
/* Just a dummy constructor for MyToolBar class - nothing to be done here. */
-/*****************************************************************************/
+/******************************************************************************/
MyToolBar::MyToolBar(
wxWindow *parent, wxWindowID id, const wxPoint &pos,
const wxSize &size, long style
@@ -79,6 +79,10 @@
const wxPoint &position, const wxSize& size, long style,
wxLocale &l, Page *content
) : wxFrame( parent, id, title, position, size, style ), m_locale(l) {
+ wxIcon tmp;
+ tmp.CopyFromBitmap(img->GetImage(wxT("mule")));
+ SetIcon(tmp);
+
cnt = content;
wxFlexGridSizer *s = new wxFlexGridSizer(1);
s->AddGrowableCol(0);
|