Added application main icon
This commit is contained in:
parent
24a35b3ee4
commit
6d8f70e92a
@ -12,6 +12,11 @@ namespace gui
|
||||
MainWindowFrame::MainWindowFrame()
|
||||
: wxFrame(nullptr, wxID_ANY, "wxRocket", wxDefaultPosition, wxDefaultSize)
|
||||
{
|
||||
// Set the icon
|
||||
wxIcon appIcon(rocket32x32);
|
||||
wxMask* appIconMask = new wxMask(appIcon, wxColor(0, 0, 0));
|
||||
appIcon.SetMask(appIconMask);
|
||||
this->SetIcon(appIcon);
|
||||
// Add a File menu
|
||||
wxMenu* fileMenu = new wxMenu;
|
||||
fileMenu->Append(wxID_NEW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user