diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-11-06 18:53:26 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-11-06 18:53:26 +0000 |
commit | 8acda009d921a65dab87bd0a40f63981a1586561 (patch) | |
tree | a0ecc03e12f81439243bc537e565502ab5af3ba1 /uibase.h | |
parent | 300d4608f2504e3e4a02a13b6c6000b52c436975 (diff) |
UIThreadCall, ThreadSafeMessageBox
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@34 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'uibase.h')
-rw-r--r-- | uibase.h | 82 |
1 files changed, 1 insertions, 81 deletions
@@ -37,7 +37,6 @@ #include <wx/statbmp.h>
#include <wx/combobox.h>
#include <wx/richtext/richtextctrl.h>
-#include <wx/treectrl.h>
///////////////////////////////////////////////////////////////////////////
@@ -88,14 +87,7 @@ #define wxID_BUTTONBACK 1044
#define wxID_BUTTONNEXT 1045
#define wxID_SUBMIT 1046
-#define wxID_OPENNEWTABLE 1047
-#define wxID_DEALHAND 1048
-#define wxID_FOLD 1049
-#define wxID_CALL 1050
-#define wxID_RAISE 1051
-#define wxID_LEAVETABLE 1052
-#define wxID_DITCHPLAYER 1053
-#define wxID_TEXTCTRL 1054
+#define wxID_TEXTCTRL 1047
///////////////////////////////////////////////////////////////////////////////
/// Class CMainFrameBase
@@ -653,78 +645,6 @@ class CEditReviewDialogBase : public wxFrame };
///////////////////////////////////////////////////////////////////////////////
-/// Class CPokerLobbyDialogBase
-///////////////////////////////////////////////////////////////////////////////
-class CPokerLobbyDialogBase : public wxFrame
-{
- private:
-
- protected:
- wxTreeCtrl* m_treeCtrl;
- wxListCtrl* m_listCtrl;
- wxButton* m_buttonNewTable;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnTreeSelChanged( wxTreeEvent& event ){ event.Skip(); }
- virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnButtonNewTable( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- CPokerLobbyDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Poker Lobby"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 586,457 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
- ~CPokerLobbyDialogBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CPokerDialogBase
-///////////////////////////////////////////////////////////////////////////////
-class CPokerDialogBase : public wxFrame
-{
- private:
-
- protected:
- wxButton* m_buttonDealHand;
- wxButton* m_buttonFold;
- wxButton* m_buttonCall;
- wxButton* m_buttonRaise;
- wxButton* m_buttonLeaveTable;
- wxTextCtrl* m_textDitchPlayer;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
- virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }
- virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }
- virtual void OnSize( wxSizeEvent& event ){ event.Skip(); }
- virtual void OnCheckSitOut( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonDealHand( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonFold( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCall( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonRaise( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonLeaveTable( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnDitchPlayer( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckPreFold( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckPreCall( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckPreCallAny( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckPreRaise( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckPreRaiseAny( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- wxCheckBox* m_checkSitOut;
- wxCheckBox* m_checkPreFold;
- wxCheckBox* m_checkPreCall;
- wxCheckBox* m_checkPreCallAny;
- wxCheckBox* m_checkPreRaise;
- wxCheckBox* m_checkPreRaiseAny;
- wxStatusBar* m_statusBar;
- CPokerDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Poker"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 806,550 ), long style = wxDEFAULT_FRAME_STYLE|wxFRAME_NO_TASKBAR|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL );
- ~CPokerDialogBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
/// Class CGetTextFromUserDialogBase
///////////////////////////////////////////////////////////////////////////////
class CGetTextFromUserDialogBase : public wxDialog
|