X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9efc294a979fb4ae801f7dc37af35677301212d..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/dialog.h?ds=sidebyside diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index b14cd11007..120611ac98 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.h +// Name: wx/gtk/dialog.h // Purpose: // Author: Robert Roebling // Created: @@ -8,8 +8,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKDIALOGH__ -#define __GTKDIALOGH__ +#ifndef _WX_GTKDIALOG_H_ +#define _WX_GTKDIALOG_H_ + +class WXDLLIMPEXP_FWD_CORE wxGUIEventLoop; //----------------------------------------------------------------------------- // wxDialog @@ -33,11 +35,10 @@ public: const wxString &name = wxDialogNameStr ); virtual ~wxDialog(); - virtual bool Show( bool show = TRUE ); + virtual bool Show( bool show = true ); virtual int ShowModal(); virtual void EndModal( int retCode ); virtual bool IsModal() const; - void SetModal( bool modal ); // implementation // -------------- @@ -47,8 +48,8 @@ public: private: // common part of all ctors void Init(); - + wxGUIEventLoop *m_modalLoop; DECLARE_DYNAMIC_CLASS(wxDialog) }; -#endif // __GTKDIALOGH__ +#endif // _WX_GTKDIALOG_H_