+
+void wxFrame::SetIconizeState(bool iconize)
+{
+ if ( iconize != m_isIconized )
+ {
+ m_isIconized = iconize;
+ (void)SendIconizeEvent(iconize);
+ }
+ else
+ {
+ // this is not supposed to happen if we're called only from
+ // gtk_frame_(un)map_callback!
+ wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
+ }
+}
+