diff options
Diffstat (limited to 'Source/WXDialog/cmWXMainFrame.cxx')
-rw-r--r-- | Source/WXDialog/cmWXMainFrame.cxx | 7 |
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; |