]> git.saurik.com Git - wxWidgets.git/blame - demos/forty/playerdg.h
Update files.bkl to match the changes Stefan made to Makefile.in earlier, to update...
[wxWidgets.git] / demos / forty / playerdg.h
CommitLineData
63cafd27
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: playerdg.h
3// Purpose: Forty Thieves patience game
4// Author: Chris Breeze
5// Modified by:
6// Created: 21/07/97
7// RCS-ID: $Id$
8// Copyright: (c) 1993-1998 Chris Breeze
010216e3 9// Licence: wxWindows licence
63cafd27 10//---------------------------------------------------------------------------
be5a51fb 11// Last modified: 22nd July 1998 - ported to wxWidgets 2.0
63cafd27
JS
12/////////////////////////////////////////////////////////////////////////////
13#ifndef _PLAYERDG_H_
14#define _PLAYERDG_H_
15
16class PlayerSelectionDialog : public wxDialog
17{
18public:
010216e3 19 PlayerSelectionDialog(wxWindow* parent, ScoreFile* file);
254a2129 20 virtual ~PlayerSelectionDialog(){};
63cafd27 21
010216e3
WS
22 const wxString& GetPlayersName();
23 void ButtonCallback(wxCommandEvent& event);
24 void SelectCallback(wxCommandEvent& event);
25 void OnSize(wxSizeEvent& event);
63cafd27 26
010216e3 27 DECLARE_EVENT_TABLE()
63cafd27
JS
28
29protected:
010216e3
WS
30 friend void SelectCallback(wxListBox&, wxCommandEvent&);
31 void OnCloseWindow(wxCloseEvent& event);
63cafd27
JS
32
33private:
010216e3
WS
34 ScoreFile* m_scoreFile;
35 wxString m_player;
36 wxButton* m_OK;
37 wxButton* m_cancel;
38 wxTextCtrl* m_textField;
63cafd27
JS
39};
40
41#endif