projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added wxUSE_PLOT
[wxWidgets.git]
/
include
/
wx
/
gtk
/
dialog.h
diff --git
a/include/wx/gtk/dialog.h
b/include/wx/gtk/dialog.h
index ac1f0db9a01abd8e04eeac41807dc3938f5eb40f..c9968337278b45a7bcdbec7b5343910d4c7ebac3 100644
(file)
--- a/
include/wx/gtk/dialog.h
+++ b/
include/wx/gtk/dialog.h
@@
-37,8
+37,6
@@
extern const wxChar *wxDialogNameStr;
class wxDialog: public wxDialogBase
{
class wxDialog: public wxDialogBase
{
- DECLARE_DYNAMIC_CLASS(wxDialog)
-
public:
wxDialog() { Init(); }
wxDialog( wxWindow *parent, wxWindowID id,
public:
wxDialog() { Init(); }
wxDialog( wxWindow *parent, wxWindowID id,
@@
-78,8
+76,6
@@
public:
virtual void InitDialog(void);
virtual void InitDialog(void);
- virtual void Centre( int direction = wxHORIZONTAL );
-
virtual void SetIcon( const wxIcon &icon );
virtual void Iconize( bool WXUNUSED(iconize)) { }
virtual bool IsIconized() const { return FALSE; }
virtual void SetIcon( const wxIcon &icon );
virtual void Iconize( bool WXUNUSED(iconize)) { }
virtual bool IsIconized() const { return FALSE; }
@@
-87,11
+83,15
@@
public:
virtual void Maximize() { }
virtual void Restore() { }
virtual void Maximize() { }
virtual void Restore() { }
- void SetReturnCode(int returnCode) { m_returnCode = returnCode; }
- int GetReturnCode() const { return m_returnCode; }
-
+ virtual bool IsTopLevel() const { return TRUE; }
+
// implementation
// implementation
+ // --------------
+ // move the window to the specified location and resize it: this is called
+ // from both DoSetSize() and DoSetClientSize()
+ virtual void DoMoveWindow(int x, int y, int width, int height);
+
virtual void GtkOnSize( int x, int y, int width, int height );
virtual void OnInternalIdle();
virtual void GtkOnSize( int x, int y, int width, int height );
virtual void OnInternalIdle();
@@
-108,9
+108,8
@@
protected:
int sizeFlags = wxSIZE_AUTO);
private:
int sizeFlags = wxSIZE_AUTO);
private:
- int m_returnCode;
-
DECLARE_EVENT_TABLE()
DECLARE_EVENT_TABLE()
+ DECLARE_DYNAMIC_CLASS(wxDialog)
};
#endif // __GTKDIALOGH__
};
#endif // __GTKDIALOGH__