wxList wxModelessWindows; // Frames and modeless dialogs
extern wxList wxPendingDelete;
+extern wxHashTable *wxWidgetHashTable;
+
#define wxUSE_INVISIBLE_RESIZE 1
#if !USE_SHARED_LIBRARY
XmStringFree(str);
}
- m_windowFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
+ m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
ChangeFont(FALSE);
wxAddWindowToTable(dialogShell, this);
XtVaSetValues((Widget) m_mainWidget, XmNresizePolicy, XmRESIZE_NONE, NULL);
}
+void wxDialog::DoSetClientSize(int width, int height)
+{
+ wxWindow::SetSize(-1, -1, width, height);
+}
+
void wxDialog::SetTitle(const wxString& title)
{
m_dialogTitle = title;
closing.DeleteObject(this);
}
+void wxDialog::OnPaint(wxPaintEvent &WXUNUSED(event))
+{
+ // added for compatiblity only
+}
+
// Destroy the window (delayed, if a managed window)
bool wxDialog::Destroy()
{