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()
{
// wxYield();
}
+#if WXWIN_COMPATIBILITY_2_2
+
// Output a debug mess., in a system dependent fashion.
void wxDebugMsg(
const wxChar* zFmt ...
DosExit(EXIT_PROCESS, ulRc);
}
+#endif // WXWIN_COMPATIBILITY_2_2
+
// Emit a beeeeeep
void wxBell()
{
char zStyle[30];
if (hWnd == NULLHANDLE)
+ 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
//
switch(rFont.GetFamily())
{
case wxSCRIPT:
+ strcpy(zFacename, "Script");
+ break;
+
case wxDECORATIVE:
+ strcpy(zFacename, "WarpSans");
+ break;
+
case wxROMAN:
strcpy(zFacename,"Times New Roman");
break;
case wxTELETYPE:
+ strcpy(zFacename, "Courier New");
+ break;
+
case wxMODERN:
- strcpy(zFacename, "Courier");
+ strcpy(zFacename, "Courier New");
break;
- case wxSWISS:
case wxDEFAULT:
default:
+ case wxSWISS:
strcpy(zFacename, "Helvetica");
break;
}