projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow creating wxGraphicsFont without using wxFont.
[wxWidgets.git]
/
interface
/
wx
/
dialog.h
diff --git
a/interface/wx/dialog.h
b/interface/wx/dialog.h
index 994b7d36c7f012143f0a04723ac06e4fe670df57..47dd167eddf93e36cd51c85242924c073437aab0 100644
(file)
--- a/
interface/wx/dialog.h
+++ b/
interface/wx/dialog.h
@@
-16,6
+16,8
@@
enum wxDialogLayoutAdaptationMode
wxDIALOG_ADAPTATION_MODE_DISABLED = 2 ///< Disable this dialog overriding global status.
};
wxDIALOG_ADAPTATION_MODE_DISABLED = 2 ///< Disable this dialog overriding global status.
};
+#define wxDEFAULT_DIALOG_STYLE (wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX)
+
/**
@class wxDialog
/**
@class wxDialog
@@
-673,3
+675,13
@@
public:
virtual bool DoLayoutAdaptation(wxDialog* dialog) = 0;
};
virtual bool DoLayoutAdaptation(wxDialog* dialog) = 0;
};
+
+class wxWindowModalDialogEvent : public wxCommandEvent
+{
+public:
+ wxWindowModalDialogEvent (wxEventType commandType = wxEVT_NULL, int id = 0);
+
+ wxDialog *GetDialog() const;
+ int GetReturnCode() const;
+ virtual wxEvent *Clone() const;
+};