Committing in .
Modified Files: wxWindows/src/common/object.cpp properly #ifdef'd the DEBUG_PRINTF calls ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -300,7 +300,9 @@ void wxClassInfo::CleanUpClasses()
|
||||
|
||||
wxObject *wxCreateDynamicObject(const wxChar *name)
|
||||
{
|
||||
#if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
|
||||
DEBUG_PRINTF(wxObject *wxCreateDynamicObject)
|
||||
#endif
|
||||
|
||||
if (wxClassInfo::sm_classTable)
|
||||
{
|
||||
@@ -336,7 +338,9 @@ wxObject* wxCreateStoredObject( wxInputStream &stream )
|
||||
|
||||
void wxObject::StoreObject( wxObjectOutputStream& stream )
|
||||
{
|
||||
#if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
|
||||
DEBUG_PRINTF(wxObject::StoreObject)
|
||||
#endif
|
||||
|
||||
wxString obj_name = wxString(GetClassInfo()->GetClassName()) + "_Serialize";
|
||||
wxLibrary *lib = wxTheLibraries.LoadLibrary("wxserial");
|
||||
@@ -363,7 +367,9 @@ void wxObject::StoreObject( wxObjectOutputStream& stream )
|
||||
|
||||
void wxObject::LoadObject( wxObjectInputStream& stream )
|
||||
{
|
||||
#if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
|
||||
DEBUG_PRINTF(wxObject::LoadObject)
|
||||
#endif
|
||||
|
||||
wxString obj_name = wxString(GetClassInfo()->GetClassName()) + "_Serialize";
|
||||
wxLibrary *lib = wxTheLibraries.LoadLibrary("wxserial");
|
||||
@@ -392,7 +398,9 @@ void wxObject::LoadObject( wxObjectInputStream& stream )
|
||||
|
||||
void wxObject::Ref(const wxObject& clone)
|
||||
{
|
||||
#if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
|
||||
DEBUG_PRINTF(wxObject::Ref)
|
||||
#endif
|
||||
// delete reference to old data
|
||||
UnRef();
|
||||
// reference new data
|
||||
|
Reference in New Issue
Block a user