]> git.saurik.com Git - wxWidgets.git/commitdiff
Better #include
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 26 Jan 2006 19:06:06 +0000 (19:06 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 26 Jan 2006 19:06:06 +0000 (19:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp
samples/dialogs/dialogs.cpp
samples/ipc/ipcsetup.h
samples/mobile/styles/styles.h
samples/mobile/wxedit/wxedit.h
samples/multimon/multimon_test.cpp
samples/oleauto/oleauto.cpp
samples/opengl/penguin/dxfrenderer.cpp
samples/toolbar/toolbar.cpp

index 7348a317d0a1faea5c6fbbe8485d37fca7fb1925..91876f7d424403def096a937e0d6f85f9b28772d 100644 (file)
@@ -897,8 +897,8 @@ static void TestFileNameCwd()
 
 #ifdef TEST_FILETIME
 
-#include <wx/filename.h>
-#include <wx/datetime.h>
+#include "wx/filename.h"
+#include "wx/datetime.h"
 
 static void TestFileGetTimes()
 {
@@ -1554,7 +1554,7 @@ static void TestRegExInteractive()
 
 #ifdef TEST_ODBC
 
-#include <wx/db.h>
+#include "wx/db.h"
 
 static void TestDbOpen()
 {
index d3cdcf1e15bee453103d586ec7c98ec19be1b3bb..9c4f7eba682c0f06c52c6d3620c681fe736cae7f 100644 (file)
@@ -40,7 +40,7 @@
 
 #if wxUSE_PROGRESSDLG
 #if wxUSE_STOPWATCH && wxUSE_LONGLONG
-    #include <wx/datetime.h>      // wxDateTime
+    #include "wx/datetime.h"      // wxDateTime
 #endif
 
     #include "wx/progdlg.h"
index a7e392a7a58610c0752952b9bac021e8900b280a..bfd44e56f1ab1ea0cfda80108fb8a89c62b94ac5 100644 (file)
@@ -12,7 +12,7 @@
 // You may set this to 0 to prevent DDE from being used even under Windows
 //#define wxUSE_DDE_FOR_IPC 0
 
-#include <wx/ipc.h>
+#include "wx/ipc.h"
 
 // the default service name
 #define IPC_SERVICE _T("4242")
index 9a04e8beb1c517db05a29794da5b2e4616891a6d..7570ce73004da7b4394e3c86bea981c16017e50d 100644 (file)
@@ -1,6 +1,7 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        styles.h
 // Author:      Robert Roebling
+// RCS-ID:      $Id$
 // Created:     04/07/02
 /////////////////////////////////////////////////////////////////////////////
 
@@ -10,7 +11,7 @@
 // Include wxWidgets' headers
 
 #ifndef WX_PRECOMP
-    #include <wx/wx.h>
+    #include "wx/wx.h"
 #endif
 
 //----------------------------------------------------------------------------
index 6bbfb946534bf9cce06981ca4e339572e6443ecb..40a80f13bb57f20cf3afd33f6bd579e0df1cd285 100644 (file)
@@ -1,6 +1,7 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wxedit.h
 // Author:      Robert Roebling
+// RCS-ID:      $Id$
 // Created:     04/07/02
 /////////////////////////////////////////////////////////////////////////////
 
@@ -10,7 +11,7 @@
 // Include wxWidgets' headers
 
 #ifndef WX_PRECOMP
-    #include <wx/wx.h>
+    #include "wx/wx.h"
 #endif
 
 //----------------------------------------------------------------------------
index 3ddf4e93b451c09a6d319c8c85453fa69348ab7e..8557897355f7c9a1e4becad8c9b951821213f78f 100644 (file)
@@ -9,12 +9,12 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#include <wx/wx.h>
-#include <wx/display.h>
+#include "wx/wx.h"
+#include "wx/display.h"
 
 class TestApp : public wxApp
 {
-       bool OnInit();
+    bool OnInit();
 };
 
 DECLARE_APP(TestApp)
@@ -22,7 +22,7 @@ IMPLEMENT_APP(TestApp)
 
 bool TestApp::OnInit()
 {
-  bool is_use_display = 
+  bool is_use_display =
                         #if wxUSE_DISPLAY
                         true
                         #else
@@ -33,22 +33,22 @@ bool TestApp::OnInit()
   {
     wxMessageBox( _T("This sample has to be compiled with wxUSE_DISPLAY"), _T("Building error"), wxOK);
   }
-  #if wxUSE_DISPLAY
+#if wxUSE_DISPLAY
   else
   {
-       size_t count = wxDisplay::GetCount();
+    size_t count = wxDisplay::GetCount();
     wxLogDebug ( _T("I detected %i display(s) on your system"), count );
-       size_t i = 0;
-       while ( i < count )
-       {
-               wxDisplay display ( i );
-               wxRect r = display.GetGeometry();
-      wxLogDebug ( _T("Display #%i \"%s\" = ( %i, %i, %i, %i ) @ %i bits"),
-                       i, display.GetName().c_str(), r.GetLeft(), r.GetTop(), r.GetWidth(), r.GetHeight(),
-                       display.GetCurrentMode().GetDepth() );
-               i++;
-       }
+    size_t i = 0;
+    while ( i < count )
+    {
+        wxDisplay display ( i );
+        wxRect r = display.GetGeometry();
+        wxLogDebug ( _T("Display #%i \"%s\" = ( %i, %i, %i, %i ) @ %i bits"),
+            i, display.GetName().c_str(), r.GetLeft(), r.GetTop(), r.GetWidth(), r.GetHeight(),
+            display.GetCurrentMode().GetDepth() );
+        i++;
+    }
   }
-  #endif
-       return false;
+#endif
+  return false;
 }
index 9d1fe96853127dfb3584cfd50932c25a502d9f05..bc77c7e8d748d31646674a218acb17c566165750 100644 (file)
@@ -30,7 +30,7 @@
     #include "wx/wx.h"
 #endif
 
-#include <wx/msw/ole/automtn.h>
+#include "wx/msw/ole/automtn.h"
 
 #ifndef __WXMSW__
 #error "Sorry, this sample works under Windows only."
@@ -215,4 +215,3 @@ void MyFrame::OnTest(wxCommandEvent& WXUNUSED(event))
         return;
     }
 }
-
index 35481f884d7000ab8993b0cf27876177b22b358f..174fa05fc4a22d52556363dff0e81a95ac1d5786 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "dxfrenderer.h"
 
-#include <wx/listimpl.cpp>
+#include "wx/listimpl.cpp"
 WX_DEFINE_LIST(DXFEntityList)
 WX_DEFINE_LIST(DXFLayerList)
 
@@ -557,7 +557,7 @@ bool DXFRenderer::Load(wxInputStream& stream)
                         return false;
                 }
                 else if (line2 == wxT("TABLES"))
-                { 
+                {
                     if (!ParseTables(stream))
                         return false;
                 }
index 7694cee94a3a9a39b5b20bd10b735974dfd6b372..e7a02de3166011abe0bf9c811257557e2b6d2f87 100644 (file)
@@ -48,7 +48,7 @@
         #error wxToolBarSimple is not compiled in, set wxUSE_TOOLBAR_SIMPLE \
                to 1 in setup.h and recompile the library.
     #else
-        #include <wx/tbarsmpl.h>
+        #include "wx/tbarsmpl.h"
     #endif
 #endif // USE_GENERIC_TBAR