X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8394f0a06bb5c84fbde2e2449e7bf72a1347fb66..191e43fd02e958cd302049c469fb0f5ca9b67ceb:/demos/forty/forty.cpp diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index 350889ce4a..24902505bb 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -26,6 +26,7 @@ #include "forty.h" #include "card.h" #include "scoredg.h" +#include "forty.xpm" #if wxUSE_HTML #include "wx/textfile.h" @@ -141,9 +142,7 @@ FortyFrame::FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos #ifdef __WXMSW__ SetIcon(wxIcon(_T("CardsIcon"))); #else -#ifdef GTK_TBD - SetIcon(wxIcon(Cards_bits, Cards_width, Cards_height)); -#endif + SetIcon(wxIcon(forty_xpm)); #endif // Make a menu bar @@ -196,11 +195,12 @@ FortyFrame::FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); topsizer->Add( m_canvas, 1, wxEXPAND | wxALL, 0); SetSizer( topsizer ); - topsizer->SetSizeHints( this ); #if wxUSE_STATUSBAR CreateStatusBar(); #endif // wxUSE_STATUSBAR + + topsizer->SetSizeHints( this ); } void FortyFrame::OnCloseWindow(wxCloseEvent& event)