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:
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user