]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dde.cpp
help search is much faster now (7 times! that's what I call optimization ;-)
[wxWidgets.git] / src / msw / dde.cpp
index ad4f8174a2d4a21d127ad4680aa4b1c9b0aef94b..275f56144f12b549310b6735aed5549df6e3ab5c 100644 (file)
 #define _EXPORT _export
 #endif
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxDDEServer, wxServerBase)
 IMPLEMENT_DYNAMIC_CLASS(wxDDEClient, wxClientBase)
 IMPLEMENT_CLASS(wxDDEConnection, wxConnectionBase)
-#endif
 
 static wxDDEConnection *DDEFindConnection(HCONV hConv);
 static void DDEDeleteConnection(HCONV hConv);
@@ -177,7 +175,7 @@ static void DDEDeleteConnection(HCONV hConv)
   if (found)
        return;
 
-  node = wxDDEServerObjects.First();
+  node = wxDDEClientObjects.First();
   while (node && !found)
   {
     wxDDEClient *object = (wxDDEClient *)node->Data();