mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Some more work on making dialogs close when escape is pressed. Also make sure dialog modality is ended properly so that they can be closed on OSX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7352 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -34,29 +34,12 @@ class AboutDolphin : public wxDialog
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE);
|
||||
virtual ~AboutDolphin();
|
||||
void CloseClick(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
|
||||
wxBoxSizer *sMain;
|
||||
wxBoxSizer *sButtons;
|
||||
wxBoxSizer *sMainHor;
|
||||
wxBoxSizer *sInfo;
|
||||
|
||||
wxButton *m_Close;
|
||||
wxStaticText *Message;
|
||||
wxStaticBitmap *sbDolphinLogo;
|
||||
|
||||
enum
|
||||
{
|
||||
ID_LOGO = 1000,
|
||||
ID_MESSAGE
|
||||
};
|
||||
|
||||
void CloseClick(wxCommandEvent& event);
|
||||
void OnClose(wxCloseEvent& event);
|
||||
void CreateGUIControls();
|
||||
};
|
||||
|
||||
#endif //_ABOUTDOLPHIN_H_
|
||||
|
Reference in New Issue
Block a user