Added AppTraits for starting/ending a thread.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-09-22 00:01:32 +00:00
parent 7e541da8b0
commit 8329e6c730
2 changed files with 19 additions and 0 deletions

View File

@@ -342,6 +342,15 @@ void wxBell()
DosBeep(1000,1000); // 1kHz during 1 sec. DosBeep(1000,1000); // 1kHz during 1 sec.
} }
void wxAppTraits::InitializeGui(unsigned long &ulHab)
{
}
void wxAppTraits::TerminateGui(unsigned long ulHab)
{
}
wxToolkitInfo & wxConsoleAppTraits::GetToolkitInfo() wxToolkitInfo & wxConsoleAppTraits::GetToolkitInfo()
{ {
static wxToolkitInfo vInfo; static wxToolkitInfo vInfo;

View File

@@ -473,6 +473,16 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height)
wxDisplaySize(width, height); wxDisplaySize(width, height);
} }
void wxGUIAppTraits::InitializeGui(unsigned long &ulHab)
{
ulHab = ::WinInitialize(0);
}
void wxGUIAppTraits::TerminateGui(unsigned long ulHab)
{
::WinTerminate(ulHab);
}
wxToolkitInfo & wxGUIAppTraits::GetToolkitInfo() wxToolkitInfo & wxGUIAppTraits::GetToolkitInfo()
{ {
static wxToolkitInfo vInfo; static wxToolkitInfo vInfo;