]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / samples / dialup / nettest.cpp
index 99c05d6950ba46f3818453a6479fbd00bce58acc..1816214cc8dcc7ebaaa604399389b3b8fec06b46 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "nettest.cpp"
     #pragma interface "nettest.cpp"
 #endif