X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad813b00d5956f35f2b1585a276095e24ce8ad5a..4abcafeaa358c36782b961972325792fb04e507c:/src/motif/dialog.cpp diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index 41d930d7f1..d298056eb6 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -60,6 +60,8 @@ wxList wxModalDialogs; wxList wxModelessWindows; // Frames and modeless dialogs extern wxList wxPendingDelete; +extern wxHashTable *wxWidgetHashTable; + #define wxUSE_INVISIBLE_RESIZE 1 #if !USE_SHARED_LIBRARY @@ -139,7 +141,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, XmStringFree(str); } - m_windowFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT); + m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT); ChangeFont(FALSE); wxAddWindowToTable(dialogShell, this); @@ -586,6 +588,11 @@ void wxDialog::OnCloseWindow(wxCloseEvent& event) closing.DeleteObject(this); } +void wxDialog::OnPaint(wxPaintEvent &WXUNUSED(event)) +{ + // added for compatiblity only +} + // Destroy the window (delayed, if a managed window) bool wxDialog::Destroy() {