]> git.saurik.com Git - wxWidgets.git/commitdiff
Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor...
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 8 Jun 2006 12:51:01 +0000 (12:51 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 8 Jun 2006 12:51:01 +0000 (12:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/memory.h
include/wx/wx.h
src/common/object.cpp
src/gtk/app.cpp
src/gtk1/app.cpp
src/mac/carbon/app.cpp
src/mac/classic/app.cpp
src/motif/app.cpp
src/x11/app.cpp

index eb4cbc29aeaf24e5c4ba23859835d56aaa7d5a5e..b5e224be248fa1a30caa0f089920de991ce3de9e 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        memory.h
-// Purpose:     MDI classes
+// Name:        wx/memory.h
+// Purpose:     Memory operations
 // Author:      Arthur Seaton, Julian Smart
 // Modified by:
 // Created:     29/01/98
@@ -70,33 +70,33 @@ WXDLLIMPEXP_BASE void wxDebugFree(void * buf, bool isVect = false);
 #if defined(__WXMSW__) && (defined(WXUSINGDLL) || defined(WXMAKINGDLL_BASE))
 inline void * operator new (size_t size, wxChar * fileName, int lineNum)
 {
-  return wxDebugAlloc(size, fileName, lineNum, FALSE, FALSE);
+    return wxDebugAlloc(size, fileName, lineNum, false, false);
 }
 
 inline void * operator new (size_t size)
 {
-  return wxDebugAlloc(size, NULL, 0, FALSE);
+    return wxDebugAlloc(size, NULL, 0, false);
 }
 
 inline void operator delete (void * buf)
 {
-  wxDebugFree(buf, FALSE);
+    wxDebugFree(buf, false);
 }
 
 #if wxUSE_ARRAY_MEMORY_OPERATORS
 inline void * operator new[] (size_t size)
 {
-  return wxDebugAlloc(size, NULL, 0, FALSE, TRUE);
+    return wxDebugAlloc(size, NULL, 0, false, true);
 }
 
 inline void * operator new[] (size_t size, wxChar * fileName, int lineNum)
 {
-  return wxDebugAlloc(size, fileName, lineNum, FALSE, TRUE);
+    return wxDebugAlloc(size, fileName, lineNum, false, true);
 }
 
 inline void operator delete[] (void * buf)
 {
-  wxDebugFree(buf, TRUE);
+    wxDebugFree(buf, true);
 }
 #endif // wxUSE_ARRAY_MEMORY_OPERATORS
 
@@ -371,4 +371,3 @@ void WXDLLIMPEXP_BASE wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_P
 
 #endif
     // _WX_MEMORYH__
-
index 46af2cd1dd4d02a8f26ba89f6461a3bf960e0f18..71942250fec0c1d29168c0eb14a99ceeb15f2e46 100644 (file)
@@ -24,6 +24,7 @@
 #include "wx/app.h"
 #include "wx/utils.h"
 #include "wx/stream.h"
+#include "wx/memory.h"
 
 #if wxUSE_GUI
 
@@ -70,7 +71,6 @@
 #include "wx/combobox.h"
 #include "wx/layout.h"
 #include "wx/sizer.h"
-#include "wx/memory.h"
 #include "wx/mdi.h"
 #include "wx/statusbr.h"
 #include "wx/scrolbar.h"
index 4d9cf5574526cb8b627fe484df02dced6c9b6aa7..1c74d57dbd452d4817cdd2241d580eda7bbc2eb7 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/object.h"
     #include "wx/hash.h"
+    #include "wx/memory.h"
 #endif
 
 #include <string.h>
 
-#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
-#include "wx/memory.h"
-#endif
-
 #if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
     #if defined(__VISAGECPP__)
         #define DEBUG_PRINTF(NAME) { static int raz=0; \
index 8f26e090f756e345107c0a1932634eb867d6e062..462ea4940e3f62016eeb02502ff2d36962179ae6 100644 (file)
     #include "wx/dialog.h"
     #include "wx/settings.h"
     #include "wx/msgdlg.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/gdicmn.h"
-#include "wx/memory.h"
 #include "wx/font.h"
 #include "wx/file.h"
 #include "wx/filename.h"
index 9981f60a5a262de8e4e50a6a091d58a4918cf17d..06a16e3fc0972f10f134bc4d0e58a60568a1d50e 100644 (file)
     #include "wx/dialog.h"
     #include "wx/settings.h"
     #include "wx/msgdlg.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/gdicmn.h"
-#include "wx/memory.h"
 #include "wx/font.h"
 #include "wx/file.h"
 #include "wx/filename.h"
index 46e8d6fdc5f1e1e9c2ee72991db3cd9e269f441b..97ba0f25e5fa4922811da6d802f7cf121c93a11f 100644 (file)
     #include "wx/dialog.h"
     #include "wx/msgdlg.h"
     #include "wx/textctrl.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/gdicmn.h"
 #include "wx/module.h"
-#include "wx/memory.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
index 5c8cf06992ab033724af267e571944e02f26bb57..9e8ea08601decb91982ea215b831155e08d95cc8 100644 (file)
     #include "wx/dialog.h"
     #include "wx/msgdlg.h"
     #include "wx/textctrl.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/gdicmn.h"
 #include "wx/module.h"
-#include "wx/memory.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
index 0f86cbcbafb16514471f233f95765919336b4d64..8e4db93daa596f1f0285f0784ec84d8e9a76fa22 100644 (file)
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/utils.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/module.h"
-#include "wx/memory.h"
 #include "wx/evtloop.h"
 
 #if wxUSE_THREADS
index afe3bb92a701374a5beeec2dd425a9888fc59c37..094bfdddbba778daa89c5f07e9e61ba34898be4b 100644 (file)
     #include "wx/icon.h"
     #include "wx/dialog.h"
     #include "wx/timer.h"
+    #include "wx/memory.h"
 #endif
 
 #include "wx/gdicmn.h"
 #include "wx/module.h"
-#include "wx/memory.h"
 #include "wx/evtloop.h"
 #include "wx/filename.h"