X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73deed44e63d9d8d21a2ef6182bc685edc2bb0f9..d2c7015bf07982c3b9c3e8ca62b326e589f95e46:/src/os2/utils.cpp?ds=sidebyside diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 5ac046f10a..6710cdf97c 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -198,6 +198,13 @@ bool wxShell( return (rc != 0); } +// Shutdown or reboot the PC +bool wxShutdown(wxShutdownFlags wFlags) +{ + // TODO + return FALSE; +} + // Get free memory in bytes, or -1 if cannot determine amount (e.g. on UNIX) long wxGetFreeMemory() { @@ -1225,7 +1232,7 @@ void wxOS2SetFont( return; // - // The fonts available for Presentation Params are just three + // The fonts available for Presentation Params are just a few // outline fonts, the rest are available to the GPI, so we must // map the families to one of these three // @@ -1236,25 +1243,25 @@ void wxOS2SetFont( break; case wxDECORATIVE: + strcpy(zFacename, "WarpSans"); + break; + case wxROMAN: - strcpy(zFacename,"Tms Rmn"); + strcpy(zFacename,"Times New Roman"); break; case wxTELETYPE: - strcpy(zFacename, "Courier"); + strcpy(zFacename, "Courier New"); break; case wxMODERN: - strcpy(zFacename, "System VIO"); - break; - - case wxSWISS: - strcpy(zFacename, "Helv"); + strcpy(zFacename, "Courier New"); break; case wxDEFAULT: default: - strcpy(zFacename, "System VIO"); + case wxSWISS: + strcpy(zFacename, "Helvetica"); break; }