git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20557
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return FALSE;
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
return FALSE;
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
wxModelessWindows.Append(this);
return TRUE;
wxModelessWindows.Append(this);
return TRUE;
wxFrame::~wxFrame()
{
m_isBeingDeleted = TRUE;
wxFrame::~wxFrame()
{
m_isBeingDeleted = TRUE;
wxRadioBox::~wxRadioBox()
{
wxRadioBox::~wxRadioBox()
{
+ m_isBeingDeleted = TRUE;
+
wxRadioButton *next,*current;
current=m_radioButtonCycle->NextInCycle();
wxRadioButton *next,*current;
current=m_radioButtonCycle->NextInCycle();
+ m_isBeingDeleted = FALSE;
m_backgroundTransparent = FALSE;
// as all windows are created with WS_VISIBLE style...
m_backgroundTransparent = FALSE;
// as all windows are created with WS_VISIBLE style...
+ m_isBeingDeleted = TRUE;
+
#ifndef __WXUNIVERSAL__
// VS: make sure there's no wxFrame with last focus set to us:
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
#ifndef __WXUNIVERSAL__
// VS: make sure there's no wxFrame with last focus set to us:
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
return FALSE;
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
return FALSE;
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
wxModelessWindows.Append(this);
return TRUE;
wxModelessWindows.Append(this);
return TRUE;
wxFrame::~wxFrame()
{
m_isBeingDeleted = TRUE;
wxFrame::~wxFrame()
{
m_isBeingDeleted = TRUE;
wxRadioBox::~wxRadioBox()
{
wxRadioBox::~wxRadioBox()
{
+ m_isBeingDeleted = TRUE;
+
wxRadioButton *next,*current;
current=m_radioButtonCycle->NextInCycle();
wxRadioButton *next,*current;
current=m_radioButtonCycle->NextInCycle();
+ m_isBeingDeleted = FALSE;
m_backgroundTransparent = FALSE;
// as all windows are created with WS_VISIBLE style...
m_backgroundTransparent = FALSE;
// as all windows are created with WS_VISIBLE style...
+ m_isBeingDeleted = TRUE;
+
#ifndef __WXUNIVERSAL__
// VS: make sure there's no wxFrame with last focus set to us:
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
#ifndef __WXUNIVERSAL__
// VS: make sure there's no wxFrame with last focus set to us:
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )