]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/url.h
Open Watcom doesn't like typename, use class (patch 826812)
[wxWidgets.git] / include / wx / url.h
index 9008fc12f4cee2b0afb9ffc36a105a6aa2575309..dc220b8a5faa653ffbc6dac948135a09e756fd64 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_URL_H
 #define _WX_URL_H
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "url.h"
 #endif
 
@@ -37,7 +37,7 @@ typedef enum {
   wxURL_PROTOERR
 } wxURLError;
 
-class WXDLLEXPORT wxURL : public wxObject
+class WXDLLIMPEXP_NET wxURL : public wxObject
 {
 public:
     wxURL(const wxString& url);