]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed condition for using #pragmas
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Jan 2005 21:33:15 +0000 (21:33 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Jan 2005 21:33:15 +0000 (21:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

39 files changed:
src/xrc/xh_bmp.cpp
src/xrc/xh_bmpbt.cpp
src/xrc/xh_bttn.cpp
src/xrc/xh_cald.cpp
src/xrc/xh_chckb.cpp
src/xrc/xh_chckl.cpp
src/xrc/xh_choic.cpp
src/xrc/xh_combo.cpp
src/xrc/xh_dlg.cpp
src/xrc/xh_frame.cpp
src/xrc/xh_gauge.cpp
src/xrc/xh_gdctl.cpp
src/xrc/xh_html.cpp
src/xrc/xh_listb.cpp
src/xrc/xh_listc.cpp
src/xrc/xh_menu.cpp
src/xrc/xh_notbk.cpp
src/xrc/xh_panel.cpp
src/xrc/xh_radbt.cpp
src/xrc/xh_radbx.cpp
src/xrc/xh_scrol.cpp
src/xrc/xh_scwin.cpp
src/xrc/xh_sizer.cpp
src/xrc/xh_slidr.cpp
src/xrc/xh_spin.cpp
src/xrc/xh_split.cpp
src/xrc/xh_statbar.cpp
src/xrc/xh_stbmp.cpp
src/xrc/xh_stbox.cpp
src/xrc/xh_stlin.cpp
src/xrc/xh_sttxt.cpp
src/xrc/xh_text.cpp
src/xrc/xh_tglbtn.cpp
src/xrc/xh_toolb.cpp
src/xrc/xh_tree.cpp
src/xrc/xh_unkwn.cpp
src/xrc/xh_wizrd.cpp
src/xrc/xmlres.cpp
src/xrc/xmlrsall.cpp

index ad56a9add2fb87d5ffd04a05d4f998e2e4cba272..47356ff0eddd2b3cb0696f4bf9bf6ad6abcb8740 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_bmp.h"
 #endif
 
index b102618c1366fbdb37ed4a2fc80c036f3acff9b8..81b805b116fffe94db56dfe1d8f7d61137126580 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_bmpbt.h"
 #endif
 
index f6b4cffd2ffd8324536b60ff9beb2f47f9f3edd6..971b49ce29279db8db089ae945617af085c07a53 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_bttn.h"
 #endif
 
index 67fa6e5edf4a4fe43b2d97943cd83f532e656617..2f9399a2db06c4abcfc04d5744889cba6db610c5 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_cald.h"
 #endif
 
index 3731c6b8899351b90c248128872601842cad7ed9..ffb27630eba1262e29a83c523e79e47e3682f66f 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_chckb.h"
 #endif
 
index 536c011ae616325145c480e4cd8d9326b258e794..8ed6fef709096e4f11a208f0b9b392c03e6f4c34 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_chckl.h"
 #endif
 
index 29262cc59e15e3a205a5820235dacb99044c6a25..c136713d66b6a596e96f40a1ea4bb1649aa79426 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_choic.h"
 #endif
 
index 16b11715a6498a854685930a93127f693ee28566..837633de09ea15f4c347319b040abbceaebb3f90 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_combo.h"
 #endif
 
index b377eab61c0d7851962daa0c70edac421005b43e..235a352fd5a620309434e421a28cf2b891e681dc 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_dlg.h"
 #endif
 
index 3b924e27d538031827e5e78b0e225ea941bb75b8..b88359aa1daf47cc0e2e9e21aaf90c90f86d7ca3 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_frame.h"
 #endif
 
index c529b21cbf7c36e8ad1125511015e23b825f7bfd..55e42a744cb7461d0794633f2fc69ab2c9932b93 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_gauge.h"
 #endif
 
index 46e1add1830a030ddd84e544497b831e523ba4d6..37a01cecc76e0818d281259d047d810915a2d93d 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_gdctl.h"
 #endif
 
index 7bdf27ed8fa70ac95598b7dbf403ec9eb84b9cdd..f7fe6ae91f8483edea130ddaaee5b6b96af50ef5 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_html.h"
 #endif
 
index 939d6e834c314753656a187b0dc57cfaf17593c3..a94406affba1474821a5e5bb699fd6650bb802d6 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_listb.h"
 #endif
 
index 6746b8322435657bef9297f3b6e20fe998d7754a..4a0c1f252a0c076fe95c62b14abb4a5196b1732e 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_listc.h"
 #endif
 
index 4d79129b841bf498aaacdb25138f277ea558e19d..f45c8ec5f1d25e40bf41a4342e7386060f878ec4 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_menu.h"
 #endif
 
index 14a60c8536e5030e7269868ad732a89f153ea059..596df57b3621c25fa5833b0a61806267b00e30c7 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_notbk.h"
 #endif
 
index 6b6a467e19e7b675d75a38cf26ea2569bb503bb9..d059aebba823114fbb809fd9c75f909ed63592cc 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_panel.h"
 #endif
 
index 0b84a58d9664bb487646e3bf89fd688f0529bfa7..a4a07a74ed0449ca9bcd0f9fd428ca1b3e824430 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_radbt.h"
 #endif
 
index 066f397d1ef87e2b64ad4c3ccd638a88eec26fe6..07a98db9b83b3ff0e2625f2e8c733dccd5328da3 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_radbx.h"
 #endif
 
index bbb52bdbd2a8f32c5828e633fb36acccc5fd11f5..7d8ae347281edb71089250948ff5f4403169456f 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_scrol.h"
 #endif
 
index 886da64ce04f010612ca1914c778cff831456e75..dababb288fed4c878ba31ec84756c3f208493f16 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_scwin.h"
 #endif
 
index 806370b3a67cc135481b9218f73dfdaf212cc018..248b7f2fad709f8bb6ea39b1478c7279ad6511f3 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_sizer.h"
 #endif
 
index 3ca8b26aa7bc36f8ecdd1b895c2c82727a8c824e..8e4b7e74a777e4b70129f2ced0bedcdf778f5fe4 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_slidr.h"
 #endif
 
index 3398ffaad1733141b61fa6659bb48afd777cefc5..616537b27cd0e8c2654b64b4fe860c42b16d8cc3 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_spin.h"
 #endif
 
index 948b241ec19f720a5054d8d5cf9c21d54780ce70..c78d526066865a633744006e27d1fa237a9bfc40 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_split.h"
 #endif
 
index 5dead981daf36bcad541aa2fe593744259958946..61b421a0d458896e258c1b640bedd4c68417f1c0 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_statbar.h"
 #endif
 
index 42f8073a91c646742ab342b06f460a432f89ae68..8bd4bb2094581f93676ab65dfdc8082608307618 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_stbmp.h"
 #endif
 
index 93f21b42d2d022c88ce4217962750cbeb54d835f..14ef930b6a6c4d107faf866c306d8f58835d8877 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_stbox.h"
 #endif
 
index 025713ec14424ad3b2ef6d5b4aaedb7d2b63568e..c0edceee1c1db07d7e270239eaf67b892ae4bf5a 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_stlin.h"
 #endif
 
index da772ef4165eaa2a281d062845da2f0916f5b851..9397992d87eccfb53fadfac8bf44e9f31a8279bc 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_sttxt.h"
 #endif
 
index 745189008dec2f598a113873fa6f2e1eddaf6e7f..550c9e43f691fd8084db81a01f2ce5903926728f 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_text.h"
 #endif
 
index 1974ab14d1b8e60c2e43efe4037acaef11e4959d..637e238434fdd370eb2bc4eae04770664453b3c5 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_tglbtn.h"
 #endif
 
index b21a906e63635d26124f669e7cd4e502ef34c384..53c5088d4fcf1047b3f3b29adff752d75455c2e6 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_toolb.h"
 #endif
 
index 5c892ebc7766054055fed4cc0e68b973024725ea..d9ee3ad6d6cf1e655ef29e3d49dc4e14d9838fb9 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_tree.h"
 #endif
 
index f9b56480367f442c0afeaa1db5e74ceabdb6e15e..0dae73bc63af57a3dc5d5b7289ff2cb4a68bf1bf 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_unkwn.h"
 #endif
 
index 2b9508ae05cb1a0391c70f6a6ac43b01b10c66b9..fad0e1c55763922dbac3aa67f61c1f5f073b0ae1 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_wizrd.h"
 #endif
 
index a817ecd7ba16e7bb7a762ce0fab12544bad5a6d2..0486728557d009494e0e09b7c7272e18c0e1a57d 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xmlres.h"
 #endif
 
index bf2eb997348da36d54efab3878fe7a2d0557bcca..98cb54e3ad214af20cfad54f3f81e00ba9e7783b 100644 (file)
@@ -9,7 +9,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 // -- Already done in xmlres.cpp
-//#ifdef __GNUG__
+//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 //#pragma implementation "xmlres.h"
 //#endif