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:
parent
42c09d20bb
commit
1029169f08
@ -25,20 +25,21 @@
|
||||
// and from wxGenericDirButton classes !)
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#define FILEDIRBTN_OVERRIDES \
|
||||
/* NULL is because of a problem with destruction order which happens */ \
|
||||
/* if we pass GetParent(): in fact, this GTK native implementation */ \
|
||||
/* needs to create the dialog in ::Create() and not for each user request */ \
|
||||
/* in response to the user click as the generic implementation does */ \
|
||||
virtual wxWindow *GetDialogParent() \
|
||||
{ \
|
||||
return NULL; \
|
||||
} \
|
||||
\
|
||||
virtual bool Destroy() \
|
||||
{ \
|
||||
m_dialog->Destroy(); \
|
||||
return wxButton::Destroy(); \
|
||||
#define FILEDIRBTN_OVERRIDES \
|
||||
/* NULL is because of a problem with destruction order which happens */ \
|
||||
/* if we pass GetParent(): in fact, this GTK native implementation */ \
|
||||
/* needs to create the dialog in ::Create() and not for each user */ \
|
||||
/* request in response to the user click as the generic implementation */ \
|
||||
/* does. */ \
|
||||
virtual wxWindow *GetDialogParent() \
|
||||
{ \
|
||||
return NULL; \
|
||||
} \
|
||||
\
|
||||
virtual bool Destroy() \
|
||||
{ \
|
||||
m_dialog->Destroy(); \
|
||||
return wxButton::Destroy(); \
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user