From 8c5907cea3231c246b879c586a7140b6dc12413f Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 20 Mar 2000 00:20:29 +0000 Subject: [PATCH] OS/2 Updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/frame.h | 1 + include/wx/os2/app.h | 6 ++++++ include/wx/os2/colour.h | 1 + include/wx/os2/menu.h | 2 ++ src/common/wincmn.cpp | 3 ++- 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/include/wx/frame.h b/include/wx/frame.h index d21024cfb2..3a3c0354a3 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -27,6 +27,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr; WXDLLEXPORT_DATA(extern const wxChar*) wxStatusLineNameStr; WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; +WXDLLEXPORT_DATA(extern wxWindow*) wxWndHook; class WXDLLEXPORT wxMenuBar; class WXDLLEXPORT wxStatusBar; diff --git a/include/wx/os2/app.h b/include/wx/os2/app.h index 8aa43dda8c..4a5422a4df 100644 --- a/include/wx/os2/app.h +++ b/include/wx/os2/app.h @@ -30,6 +30,12 @@ void WXDLLEXPORT wxExit(void); // Yield to other apps/messages bool WXDLLEXPORT wxYield(void); +extern MRESULT EXPENTRY wxWndProc( HWND + ,ULONG + ,MPARAM + ,MPARAM + ); + // Represents the application. Derive OnInit and declare // a new App object to start application class WXDLLEXPORT wxApp : public wxAppBase diff --git a/include/wx/os2/colour.h b/include/wx/os2/colour.h index a69fa86430..b49aa6a2c2 100644 --- a/include/wx/os2/colour.h +++ b/include/wx/os2/colour.h @@ -74,6 +74,7 @@ public: // // Accessors + // bool Ok(void) const {return m_bIsInit; } // diff --git a/include/wx/os2/menu.h b/include/wx/os2/menu.h index 381170896a..948351c469 100644 --- a/include/wx/os2/menu.h +++ b/include/wx/os2/menu.h @@ -21,6 +21,8 @@ class WXDLLEXPORT wxFrame; +void wxSetShortCutKey(wxChar* zText); + // ---------------------------------------------------------------------------- // Menu // ---------------------------------------------------------------------------- diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index c8885cb0c4..b1862f8a2e 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -125,7 +125,8 @@ void wxWindowBase::InitBase() m_foregroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOWTEXT); // GRG, changed Mar/2000 -#if 0 // !defined(__WXMAC__) && !defined(__WXGTK__) +#if defined(__VISAGECPP__) && __IBMCPP__ < 0x400 + // For now VisualAge 3.0 needs it this way m_font = *wxSWISS_FONT; // and this? #else m_font = settings.GetSystemFont(wxSYS_DEFAULT_GUI_FONT); -- 2.45.2