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