/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/msgdlgg.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/msgdlgg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1385 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/msgdlgg.h
3 // Purpose: Generic wxMessageDialog
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id: msgdlgg.h 49765 2007-11-09 18:32:38Z DE $
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __MSGDLGH_G__
13 #define __MSGDLGH_G__
14
15 #include "wx/defs.h"
16 #include "wx/dialog.h"
17
18 // type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO
19 // Returns wxYES/NO/OK/CANCEL
20
21 extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[];
22
23 class WXDLLEXPORT wxGenericMessageDialog: public wxDialog, public wxMessageDialogBase
24 {
25 DECLARE_DYNAMIC_CLASS(wxGenericMessageDialog)
26
27 public:
28 wxGenericMessageDialog(wxWindow *parent, const wxString& message,
29 const wxString& caption = wxMessageBoxCaptionStr,
30 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
31
32 void OnYes(wxCommandEvent& event);
33 void OnNo(wxCommandEvent& event);
34 void OnCancel(wxCommandEvent& event);
35
36 private:
37 DECLARE_EVENT_TABLE()
38 };
39
40 #if (!defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__) && !defined(__WXCOCOA__)) || defined(__WXUNIVERSAL__)
41 #define wxMessageDialog wxGenericMessageDialog
42 #endif
43
44 #endif // __MSGDLGH_G__

  ViewVC Help
Powered by ViewVC 1.1.22