include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -197,16 +197,6 @@ bool wxClassInfo::IsKindOf(wxClassInfo *info) const
|
||||
if (info == NULL)
|
||||
return FALSE;
|
||||
|
||||
// For some reason, when making/using a DLL, static data has to be included
|
||||
// in both the DLL and the application. This can lead to duplicate
|
||||
// wxClassInfo objects, so we have to test the name instead of the pointers.
|
||||
// PROBABLY NO LONGER TRUE now I've done DLL creation right.
|
||||
/*
|
||||
#if WXMAKINGDLL
|
||||
if (GetClassName() && info->GetClassName() && (wxStrcmp(GetClassName(), info->GetClassName()) == 0))
|
||||
return TRUE;
|
||||
#else
|
||||
*/
|
||||
if (this == info)
|
||||
return TRUE;
|
||||
|
||||
|
Reference in New Issue
Block a user