reformatted to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,20 +25,21 @@
|
|||||||
// and from wxGenericDirButton classes !)
|
// and from wxGenericDirButton classes !)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#define FILEDIRBTN_OVERRIDES \
|
#define FILEDIRBTN_OVERRIDES \
|
||||||
/* NULL is because of a problem with destruction order which happens */ \
|
/* NULL is because of a problem with destruction order which happens */ \
|
||||||
/* if we pass GetParent(): in fact, this GTK native implementation */ \
|
/* if we pass GetParent(): in fact, this GTK native implementation */ \
|
||||||
/* needs to create the dialog in ::Create() and not for each user request */ \
|
/* needs to create the dialog in ::Create() and not for each user */ \
|
||||||
/* in response to the user click as the generic implementation does */ \
|
/* request in response to the user click as the generic implementation */ \
|
||||||
virtual wxWindow *GetDialogParent() \
|
/* does. */ \
|
||||||
{ \
|
virtual wxWindow *GetDialogParent() \
|
||||||
return NULL; \
|
{ \
|
||||||
} \
|
return NULL; \
|
||||||
\
|
} \
|
||||||
virtual bool Destroy() \
|
\
|
||||||
{ \
|
virtual bool Destroy() \
|
||||||
m_dialog->Destroy(); \
|
{ \
|
||||||
return wxButton::Destroy(); \
|
m_dialog->Destroy(); \
|
||||||
|
return wxButton::Destroy(); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user