#if wxUSE_TOOLBAR
/* tool bar */
-/*
if (m_frameToolBar)
{
if (!m_toolBarDetached)
else
(*height) -= wxPLACE_HOLDER;
}
-*/
#endif
/* mini edge */
#if wxUSE_TOOLBAR
/* tool bar */
-/*
if (m_frameToolBar)
{
if (!m_toolBarDetached)
else
height += wxPLACE_HOLDER;
}
-*/
#endif
DoSetSize( -1, -1, width + m_miniEdge*2, height + m_miniEdge*2 + m_miniTitle, 0 );
{
wxCHECK_MSG( m_widget != NULL, FALSE, wxT("invalid radiobox") );
- wxWindow::Show( show );
+ if (!wxControl::Show(show))
+ {
+ // nothing to do
+ return FALSE;
+ }
if ((m_windowStyle & wxNO_BORDER) != 0)
gtk_widget_hide( m_widget );
while (node)
{
wxWindow *child = (wxWindow*)node->Data();
+
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
if (child->m_isStaticBox)
{
break;
}
}
- node = node->Next();
}
}
{
wxWindow *child = (wxWindow*)node->Data();
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
+
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
break;
}
}
- node = node->Next();
}
}
{
wxWindow *child = (wxWindow*)node->Data();
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
+
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
break;
}
}
- node = node->Next();
}
}
#if wxUSE_TOOLBAR
/* tool bar */
-/*
if (m_frameToolBar)
{
if (!m_toolBarDetached)
else
(*height) -= wxPLACE_HOLDER;
}
-*/
#endif
/* mini edge */
#if wxUSE_TOOLBAR
/* tool bar */
-/*
if (m_frameToolBar)
{
if (!m_toolBarDetached)
else
height += wxPLACE_HOLDER;
}
-*/
#endif
DoSetSize( -1, -1, width + m_miniEdge*2, height + m_miniEdge*2 + m_miniTitle, 0 );
{
wxCHECK_MSG( m_widget != NULL, FALSE, wxT("invalid radiobox") );
- wxWindow::Show( show );
+ if (!wxControl::Show(show))
+ {
+ // nothing to do
+ return FALSE;
+ }
if ((m_windowStyle & wxNO_BORDER) != 0)
gtk_widget_hide( m_widget );
while (node)
{
wxWindow *child = (wxWindow*)node->Data();
+
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
if (child->m_isStaticBox)
{
break;
}
}
- node = node->Next();
}
}
{
wxWindow *child = (wxWindow*)node->Data();
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
+
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
break;
}
}
- node = node->Next();
}
}
{
wxWindow *child = (wxWindow*)node->Data();
+ node = node->Next();
+ if (!child->IsShown())
+ continue;
+
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
break;
}
}
- node = node->Next();
}
}
#endif
+#if defined(__VISAGECPP__)
typedef uLong (ZEXPORT _Optlink *check_func) OF((uLong check, const Bytef *buf,
uInt len));
-#if defined(__VISAGECPP__)
voidpf _Optlink zcalloc OF((voidpf opaque, unsigned items, unsigned size));
void _Optlink zcfree OF((voidpf opaque, voidpf ptr));
#else
+typedef uLong (ZEXPORT *check_func) OF((uLong check, const Bytef *buf,
+ uInt len));
voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
void zcfree OF((voidpf opaque, voidpf ptr));
#endif