updates for DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,48 +239,6 @@ void wxCondition::Broadcast()
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxCriticalSection implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class wxCriticalSectionInternal
|
||||
{
|
||||
public:
|
||||
// init the critical section object
|
||||
wxCriticalSectionInternal()
|
||||
{ }
|
||||
|
||||
// free the associated ressources
|
||||
~wxCriticalSectionInternal()
|
||||
{ }
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxCriticalSection implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxCriticalSection::wxCriticalSection()
|
||||
{
|
||||
m_critsect = new wxCriticalSectionInternal;
|
||||
}
|
||||
|
||||
wxCriticalSection::~wxCriticalSection()
|
||||
{
|
||||
delete m_critsect;
|
||||
}
|
||||
|
||||
void wxCriticalSection::Enter()
|
||||
{
|
||||
::DosEnterCritSec();
|
||||
}
|
||||
|
||||
void wxCriticalSection::Leave()
|
||||
{
|
||||
::DosExitCritSec();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxThread implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user