wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash; various other portability changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -902,11 +902,15 @@ int wxDebugContext::Check(bool checkAll)
|
||||
|
||||
// Count the number of non-wxDebugContext-related objects
|
||||
// that are outstanding
|
||||
int wxDebugContext::CountObjectsLeft(void)
|
||||
int wxDebugContext::CountObjectsLeft(bool sinceCheckpoint)
|
||||
{
|
||||
int n = 0;
|
||||
|
||||
wxMemStruct *from = wxDebugContext::GetHead ();
|
||||
|
||||
wxMemStruct *from = NULL;
|
||||
if (sinceCheckpoint && checkPoint)
|
||||
from = checkPoint->m_next;
|
||||
if (from == (wxMemStruct*) NULL)
|
||||
from = wxDebugContext::GetHead () ;
|
||||
|
||||
for (wxMemStruct * st = from; st != 0; st = st->m_next)
|
||||
{
|
||||
|
Reference in New Issue
Block a user