git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50451
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "forty.h"
#include "card.h"
#include "scoredg.h"
+#include "forty.xpm"
#if wxUSE_HTML
#include "wx/textfile.h"
#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
wxListBox* list = new wxListBox(
this, ID_LISTBOX,
- wxDefaultPosition, wxDefaultSize,
+ wxDefaultPosition, wxSize(-1, 150),
0, 0,
wxLB_SINGLE
);
topsizer->SetSizeHints( this );
CentreOnParent();
+
+ m_OK->SetDefault();
}
void PlayerSelectionDialog::OnSize(wxSizeEvent& WXUNUSED(event))