]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.h
capture mouse to be notified when it exists the popup rect (bug 1372228)
[wxWidgets.git] / demos / forty / playerdg.h
index 856b9d5fb4211376a493359be26a9f1c1cdd0663..c6e0f89b2978746fa822806c903cb51a6316842b 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     21/07/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1993-1998 Chris Breeze
 // Created:     21/07/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1993-1998 Chris Breeze
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 //---------------------------------------------------------------------------
 // Last modified: 22nd July 1998 - ported to wxWidgets 2.0
 /////////////////////////////////////////////////////////////////////////////
 //---------------------------------------------------------------------------
 // Last modified: 22nd July 1998 - ported to wxWidgets 2.0
 /////////////////////////////////////////////////////////////////////////////
 class PlayerSelectionDialog : public wxDialog
 {
 public:
 class PlayerSelectionDialog : public wxDialog
 {
 public:
-       PlayerSelectionDialog(wxWindow* parent, ScoreFile* file);
-       virtual ~PlayerSelectionDialog();
+    PlayerSelectionDialog(wxWindow* parent, ScoreFile* file);
+    virtual ~PlayerSelectionDialog(){};
 
 
-       const wxString& GetPlayersName();
-       void ButtonCallback(wxCommandEvent& event);
-       void SelectCallback(wxCommandEvent& event);
-       void OnSize(wxSizeEvent& event);
+    const wxString& GetPlayersName();
+    void ButtonCallback(wxCommandEvent& event);
+    void SelectCallback(wxCommandEvent& event);
+    void OnSize(wxSizeEvent& event);
 
 
-       DECLARE_EVENT_TABLE()
+    DECLARE_EVENT_TABLE()
 
 protected:
 
 protected:
-       friend void SelectCallback(wxListBox&, wxCommandEvent&);
-       void OnCloseWindow(wxCloseEvent& event);
+    friend void SelectCallback(wxListBox&, wxCommandEvent&);
+    void OnCloseWindow(wxCloseEvent& event);
 
 private:
 
 private:
-       ScoreFile*      m_scoreFile;
-       wxString        m_player;
-       wxButton*       m_OK;
-       wxButton*       m_cancel;
-       wxTextCtrl*     m_textField;
+    ScoreFile* m_scoreFile;
+    wxString m_player;
+    wxButton* m_OK;
+    wxButton* m_cancel;
+    wxTextCtrl* m_textField;
 };
 
 #endif
 };
 
 #endif