]>
git.saurik.com Git - wxWidgets.git/blob - demos/forty/playerdg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Forty Thieves patience game
4 // Author: Chris Breeze
8 // Copyright: (c) 1993-1998 Chris Breeze
9 // Licence: wxWindows licence
10 //---------------------------------------------------------------------------
11 // Last modified: 22nd July 1998 - ported to wxWidgets 2.0
12 /////////////////////////////////////////////////////////////////////////////
16 class PlayerSelectionDialog
: public wxDialog
19 PlayerSelectionDialog(wxWindow
* parent
, ScoreFile
* file
);
20 virtual ~PlayerSelectionDialog();
22 const wxString
& GetPlayersName();
23 void ButtonCallback(wxCommandEvent
& event
);
24 void SelectCallback(wxCommandEvent
& event
);
25 void OnSize(wxSizeEvent
& event
);
30 friend void SelectCallback(wxListBox
&, wxCommandEvent
&);
31 void OnCloseWindow(wxCloseEvent
& event
);
34 ScoreFile
* m_scoreFile
;
38 wxTextCtrl
* m_textField
;