summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog/cmWXMainFrame.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-06 19:33:59 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-06 19:33:59 (GMT)
commit2a8c0bdfc399c9b8e866d8612ad3fb71ae573acd (patch)
treef7758e5583733a896d8487f8f2c2d467e2217d7f /Source/WXDialog/cmWXMainFrame.cxx
parentd7ee016535a12737b9abb41e4032a6a5ab85b095 (diff)
downloadCMake-2a8c0bdfc399c9b8e866d8612ad3fb71ae573acd.zip
CMake-2a8c0bdfc399c9b8e866d8612ad3fb71ae573acd.tar.gz
CMake-2a8c0bdfc399c9b8e866d8612ad3fb71ae573acd.tar.bz2
Start adding CMake icon
Diffstat (limited to 'Source/WXDialog/cmWXMainFrame.cxx')
-rw-r--r--Source/WXDialog/cmWXMainFrame.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WXDialog/cmWXMainFrame.cxx b/Source/WXDialog/cmWXMainFrame.cxx
index 0465ea4..605433f 100644
--- a/Source/WXDialog/cmWXMainFrame.cxx
+++ b/Source/WXDialog/cmWXMainFrame.cxx
@@ -22,9 +22,16 @@
#include "cmWXCommandLineInfo.h"
#include "cmake.h"
+#ifdef __linux__
+#include "CMakeIcon.xpm"
+#endif
+
cmMainFrame::cmMainFrame(const wxString& title, const wxSize& size)
: wxFrame((wxFrame*)NULL, cmMainFrame::ID_MainFrame, title, wxDefaultPosition, size)
{
+#ifdef __linux__
+ this->SetIcon( wxICON(CMakeIcon) );
+#endif
cmSystemTools::SetErrorCallback(cmMainFrame::MessageCallback, this);
this->m_Clean = true;