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

107 files changed:
include/wx/module.h
include/wx/wx.h
src/cocoa/app.mm
src/cocoa/fontutil.cpp
src/common/artprov.cpp
src/common/bmpbase.cpp
src/common/clipcmn.cpp
src/common/cshelp.cpp
src/common/datetime.cpp
src/common/dpycmn.cpp
src/common/dynload.cpp
src/common/event.cpp
src/common/filesys.cpp
src/common/fmapbase.cpp
src/common/fs_inet.cpp
src/common/imagbmp.cpp
src/common/image.cpp
src/common/imagjpeg.cpp
src/common/imagpcx.cpp
src/common/imagpng.cpp
src/common/imagtiff.cpp
src/common/init.cpp
src/common/intl.cpp
src/common/mimecmn.cpp
src/common/paper.cpp
src/common/prntbase.cpp
src/common/protocol.cpp
src/common/sckipc.cpp
src/common/socket.cpp
src/common/url.cpp
src/generic/dirctrlg.cpp
src/generic/renderg.cpp
src/generic/timer.cpp
src/gtk/artgtk.cpp
src/gtk/dcclient.cpp
src/gtk/glcanvas.cpp
src/gtk/gnome/gprint.cpp
src/gtk/gnome/gvfs.cpp
src/gtk/threadno.cpp
src/gtk/threadsgi.cpp
src/gtk/window.cpp
src/gtk1/app.cpp
src/gtk1/dcclient.cpp
src/gtk1/glcanvas.cpp
src/gtk1/threadno.cpp
src/gtk1/threadsgi.cpp
src/gtk1/window.cpp
src/html/chm.cpp
src/html/htmlcell.cpp
src/html/htmprint.cpp
src/mac/carbon/app.cpp
src/mac/carbon/cfsocket.cpp
src/mac/carbon/gdiobj.cpp
src/mac/carbon/mpthread.cpp
src/mac/carbon/thread.cpp
src/mac/classic/app.cpp
src/mac/classic/thread.cpp
src/mac/corefoundation/hid.cpp
src/mgl/app.cpp
src/mgl/cursor.cpp
src/mgl/region.cpp
src/mgl/settings.cpp
src/motif/app.cpp
src/motif/evtloop.cpp
src/motif/window.cpp
src/msw/app.cpp
src/msw/cursor.cpp
src/msw/dc.cpp
src/msw/dde.cpp
src/msw/dialup.cpp
src/msw/glcanvas.cpp
src/msw/ownerdrw.cpp
src/msw/settings.cpp
src/msw/textctrl.cpp
src/msw/thread.cpp
src/msw/toplevel.cpp
src/msw/urlmsw.cpp
src/msw/utilsexc.cpp
src/msw/uxtheme.cpp
src/msw/window.cpp
src/os2/app.cpp
src/os2/dc.cpp
src/os2/settings.cpp
src/os2/thread.cpp
src/os2/toplevel.cpp
src/palmos/app.cpp
src/palmos/cursor.cpp
src/palmos/dc.cpp
src/palmos/ownerdrw.cpp
src/palmos/settings.cpp
src/palmos/textctrl.cpp
src/palmos/thread.cpp
src/palmos/toplevel.cpp
src/palmos/utilsexc.cpp
src/palmos/window.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextstyles.cpp
src/richtext/richtextxml.cpp
src/unix/fontutil.cpp
src/unix/sound.cpp
src/unix/sound_sdl.cpp
src/unix/threadpsx.cpp
src/x11/app.cpp
src/x11/dcclient.cpp
src/x11/evtloop.cpp
src/x11/window.cpp
src/xrc/xmlres.cpp

index a35aab0e5e8418eb2ee041cd7c5db3e8356e9727..1e39f0e0030dc0637a685669cc1152477281975a 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        module.h
+// Name:        wx/module.h
 // Purpose:     Modules handling
 // Author:      Wolfram Gloger/adapted by Guilhem Lavaux
 // Modified by:
 // Purpose:     Modules handling
 // Author:      Wolfram Gloger/adapted by Guilhem Lavaux
 // Modified by:
@@ -85,7 +85,7 @@ private:
     static void DoCleanUpModules(const wxModuleList& modules);
 
 
     static void DoCleanUpModules(const wxModuleList& modules);
 
 
-    // module dependencies: contains 
+    // module dependencies: contains
     wxArrayClassInfo m_dependencies;
 
     // used internally while initiliazing/cleaning up modules
     wxArrayClassInfo m_dependencies;
 
     // used internally while initiliazing/cleaning up modules
@@ -101,4 +101,3 @@ private:
 };
 
 #endif // _WX_MODULE_H_
 };
 
 #endif // _WX_MODULE_H_
-
index 4ed8a6d41739b30158c309aeb581f9346801e6f1..1aa2bb695fa83f2c19efb5493a1d87879836f9b8 100644 (file)
@@ -29,6 +29,7 @@
 #include "wx/memory.h"
 #include "wx/math.h"
 #include "wx/stopwatch.h"
 #include "wx/memory.h"
 #include "wx/math.h"
 #include "wx/stopwatch.h"
+#include "wx/module.h"
 
 #if wxUSE_GUI
 
 
 #if wxUSE_GUI
 
index 565209e5b159ea7764ebca3a5e7942941891f999..a246c4c211719a2522930e6671528acd4e36f80b 100644 (file)
     #include "wx/dc.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/dc.h"
     #include "wx/intl.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include "wx/cocoa/ObjcPose.h"
 #include "wx/cocoa/autorelease.h"
 #include "wx/cocoa/mbarman.h"
 #include "wx/cocoa/ObjcPose.h"
 #include "wx/cocoa/autorelease.h"
 #include "wx/cocoa/mbarman.h"
index c50c724772cec1011b13818aba605b896d36cc68..1a59d7e8e2393d7cff06beaf29e9d2d484f83103 100644 (file)
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#include "wx/fontutil.h"
+
 #ifndef WX_PRECOMP
     #include "wx/hash.h"
     #include "wx/utils.h"
 #ifndef WX_PRECOMP
     #include "wx/hash.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif // PCH
 
 #endif // PCH
 
-#include "wx/fontutil.h"
 #include "wx/fontmap.h"
 #include "wx/tokenzr.h"
 #include "wx/fontmap.h"
 #include "wx/tokenzr.h"
-#include "wx/module.h"
 #include "wx/encinfo.h"
 
 #ifdef __WXGTK20__
 #include "wx/encinfo.h"
 
 #ifdef __WXGTK20__
index 918dc3307a1d53375bd074cccb02a2d0d1831515..7661612429045978443a42f530c3ccf6638f6257 100644 (file)
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#include "wx/artprov.h"
+
 #ifndef WX_PRECOMP
     #include "wx/list.h"
     #include "wx/log.h"
     #include "wx/hashmap.h"
     #include "wx/image.h"
 #ifndef WX_PRECOMP
     #include "wx/list.h"
     #include "wx/log.h"
     #include "wx/hashmap.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/artprov.h"
-#include "wx/module.h"
-
 // ===========================================================================
 // implementation
 // ===========================================================================
 // ===========================================================================
 // implementation
 // ===========================================================================
index 41a176ed3f712b7a33e5daa76fb3cd6a14a2aae0..61a7762f7ab20770bc1940a2d07603c22cd569ac 100644 (file)
     #include "wx/palette.h"
     #include "wx/icon.h"
     #include "wx/image.h"
     #include "wx/palette.h"
     #include "wx/icon.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif // WX_PRECOMP
 
 #endif // WX_PRECOMP
 
-#include "wx/module.h"
-
 IMPLEMENT_ABSTRACT_CLASS(wxBitmapBase, wxGDIObject)
 IMPLEMENT_ABSTRACT_CLASS(wxBitmapHandlerBase,wxObject)
 
 IMPLEMENT_ABSTRACT_CLASS(wxBitmapBase, wxGDIObject)
 IMPLEMENT_ABSTRACT_CLASS(wxBitmapHandlerBase,wxObject)
 
index 6f380b5aaea65286eb49d1189a1668680da2e36c..4b9225b04259b4b5d658d2759deaddb7260af35e 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        common/clipcmn.cpp
+// Name:        src/common/clipcmn.cpp
 // Purpose:     common (to all ports) wxClipboard functions
 // Author:      Robert Roebling
 // Modified by:
 // Purpose:     common (to all ports) wxClipboard functions
 // Author:      Robert Roebling
 // Modified by:
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_CLIPBOARD
+
 #include "wx/clipbrd.h"
 #include "wx/clipbrd.h"
-#include "wx/module.h"
 
 
-#if wxUSE_CLIPBOARD
+#ifndef WX_PRECOMP
+    #include "wx/module.h"
+#endif
 
 static wxClipboard *gs_clipboard = NULL;
 
 
 static wxClipboard *gs_clipboard = NULL;
 
index f94b9e67d7acc94439f79941e5d46df7e6644974..57cea314d25c3a7544ae53c6a0c674edd75fbfbb 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/app.h"
 
 #ifndef WX_PRECOMP
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/tipwin.h"
 #endif
 
 #include "wx/tipwin.h"
-#include "wx/module.h"
 #include "wx/cshelp.h"
 
 // wxUSE_MS_HTML_HELP is not defined under platforms other than MSW
 #include "wx/cshelp.h"
 
 // wxUSE_MS_HTML_HELP is not defined under platforms other than MSW
index 0832f5379f7cfe7859ba1e2a9d1516bbb4b6c4ef..069f1dbee33c961c4e582ac8ce6b62518118a38f 100644 (file)
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/stopwatch.h"           // for wxGetLocalTimeMillis()
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/stopwatch.h"           // for wxGetLocalTimeMillis()
+    #include "wx/module.h"
 #endif // WX_PRECOMP
 
 #include "wx/thread.h"
 #include "wx/tokenzr.h"
 #endif // WX_PRECOMP
 
 #include "wx/thread.h"
 #include "wx/tokenzr.h"
-#include "wx/module.h"
 
 #include <ctype.h>
 
 
 #include <ctype.h>
 
index ce5fc0ac22ec309e16641c8e7d9c0f40d3092b12..13b46852818c55907237147ff14bc99cfa9101ee 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
     #include "wx/window.h"
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
     #include "wx/window.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #include "wx/display.h"
 #include "wx/display_impl.h"
 #endif //WX_PRECOMP
 
 #include "wx/display.h"
 #include "wx/display_impl.h"
-#include "wx/module.h"
 
 #if wxUSE_DISPLAY
 
 
 #if wxUSE_DISPLAY
 
index 5cb065859d11077c14e0475edeabb83159b2f98a..7759f6f8d1b9731f80742d62002e68c5ec8b1483 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:         dynload.cpp
+// Name:         src/common/dynload.cpp
 // Purpose:      Dynamic loading framework
 // Author:       Ron Lee, David Falkinder, Vadim Zeitlin and a cast of 1000's
 //               (derived in part from dynlib.cpp (c) 1998 Guilhem Lavaux)
 // Purpose:      Dynamic loading framework
 // Author:       Ron Lee, David Falkinder, Vadim Zeitlin and a cast of 1000's
 //               (derived in part from dynlib.cpp (c) 1998 Guilhem Lavaux)
     #include "wx/intl.h"
     #include "wx/hash.h"
     #include "wx/utils.h"
     #include "wx/intl.h"
     #include "wx/hash.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/strconv.h"
 
 #include "wx/dynload.h"
 #endif
 
 #include "wx/strconv.h"
 
 #include "wx/dynload.h"
-#include "wx/module.h"
 
 
 // ---------------------------------------------------------------------------
 
 
 // ---------------------------------------------------------------------------
@@ -360,4 +360,3 @@ void wxPluginManager::Unload()
 }
 
 #endif  // wxUSE_DYNAMIC_LOADER
 }
 
 #endif  // wxUSE_DYNAMIC_LOADER
-
index 5e40721437f53ac56ea78d16ec3973f6413cde5d..043eafa8699211c28d83049141f569e1659c2b2b 100644 (file)
@@ -31,6 +31,7 @@
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/stopwatch.h"
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/stopwatch.h"
+    #include "wx/module.h"
 
     #if wxUSE_GUI
         #include "wx/control.h"
 
     #if wxUSE_GUI
         #include "wx/control.h"
@@ -40,8 +41,6 @@
     #endif // wxUSE_GUI
 #endif
 
     #endif // wxUSE_GUI
 #endif
 
-#include "wx/module.h"
-
 // ----------------------------------------------------------------------------
 // wxWin macros
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxWin macros
 // ----------------------------------------------------------------------------
index 405598e9c2aca71d01dbfe54cae8f2741a51f9f3..425be7057ce7a6ea5a726925442f2c4ba105d649 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/wfstream.h"
 #endif
 
 #include "wx/wfstream.h"
-#include "wx/module.h"
 #include "wx/mimetype.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
 #include "wx/mimetype.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
index ccf7de0844d5f6b6b83fad2185f9519d0534af99..24ace1c2149c2dc5db1d7e904f4ba8650508cf94 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        common/fmapbase.cpp
+// Name:        src/common/fmapbase.cpp
 // Purpose:     wxFontMapperBase class implementation
 // Author:      Vadim Zeitlin
 // Modified by:
 // Purpose:     wxFontMapperBase class implementation
 // Author:      Vadim Zeitlin
 // Modified by:
     #include "wx/app.h"
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/app.h"
     #include "wx/log.h"
     #include "wx/intl.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #if defined(__WXMSW__)
 #endif //WX_PRECOMP
 
 #if defined(__WXMSW__)
-  #include  "wx/msw/private.h"  // includes windows.h for LOGFONT
-  #include  "wx/msw/winundef.h"
+    #include  "wx/msw/private.h"  // includes windows.h for LOGFONT
+    #include  "wx/msw/winundef.h"
 #endif
 
 #include "wx/fontmap.h"
 #include "wx/fmappriv.h"
 
 #include "wx/apptrait.h"
 #endif
 
 #include "wx/fontmap.h"
 #include "wx/fmappriv.h"
 
 #include "wx/apptrait.h"
-#include "wx/module.h"
 
 // wxMemoryConfig uses wxFileConfig
 #if wxUSE_CONFIG && wxUSE_FILECONFIG
 
 // wxMemoryConfig uses wxFileConfig
 #if wxUSE_CONFIG && wxUSE_FILECONFIG
@@ -344,7 +344,7 @@ const wxChar *wxFontMapperBase::GetDefaultConfigPath()
 
 void wxFontMapperBase::SetConfigPath(const wxString& prefix)
 {
 
 void wxFontMapperBase::SetConfigPath(const wxString& prefix)
 {
-    wxCHECK_RET( !prefix.IsEmpty() && prefix[0] == wxCONFIG_PATH_SEPARATOR,
+    wxCHECK_RET( !prefix.empty() && prefix[0] == wxCONFIG_PATH_SEPARATOR,
                  wxT("an absolute path should be given to wxFontMapper::SetConfigPath()") );
 
     m_configRootPath = prefix;
                  wxT("an absolute path should be given to wxFontMapper::SetConfigPath()") );
 
     m_configRootPath = prefix;
@@ -399,7 +399,7 @@ bool wxFontMapperBase::ChangePath(const wxString& pathNew, wxString *pathOld)
     *pathOld = config->GetPath();
 
     wxString path = GetConfigPath();
     *pathOld = config->GetPath();
 
     wxString path = GetConfigPath();
-    if ( path.IsEmpty() || path.Last() != wxCONFIG_PATH_SEPARATOR )
+    if ( path.empty() || path.Last() != wxCONFIG_PATH_SEPARATOR )
     {
         path += wxCONFIG_PATH_SEPARATOR;
     }
     {
         path += wxCONFIG_PATH_SEPARATOR;
     }
@@ -482,7 +482,7 @@ wxFontMapperBase::NonInteractiveCharsetToEncoding(const wxString& charset)
             config->SetPath(FONTMAPPER_CHARSET_ALIAS_PATH);
 
             wxString alias = config->Read(charset);
             config->SetPath(FONTMAPPER_CHARSET_ALIAS_PATH);
 
             wxString alias = config->Read(charset);
-            if ( !alias.IsEmpty() )
+            if ( !alias.empty() )
             {
                 // yes, we do - use it instead
                 cs = alias;
             {
                 // yes, we do - use it instead
                 cs = alias;
@@ -731,4 +731,3 @@ wxFontEncoding wxFontMapperBase::GetEncodingFromName(const wxString& name)
 }
 
 #endif // wxUSE_FONTMAP
 }
 
 #endif // wxUSE_FONTMAP
-
index f32d068f1271193ba2a9acf670bb72647046b2a5..d927b9aa7472449ef1eb4c9ea1de3dc8c1346167 100644 (file)
@@ -1,15 +1,16 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        fs_inet.cpp
+// Name:        src/common/fs_inet.cpp
 // Purpose:     HTTP and FTP file system
 // Author:      Vaclav Slavik
 // Copyright:   (c) 1999 Vaclav Slavik
 // Purpose:     HTTP and FTP file system
 // Author:      Vaclav Slavik
 // Copyright:   (c) 1999 Vaclav Slavik
+// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if !wxUSE_SOCKETS
 #endif
 
 #if !wxUSE_SOCKETS
 #if wxUSE_FILESYSTEM && wxUSE_FS_INET
 
 #ifndef WXPRECOMP
 #if wxUSE_FILESYSTEM && wxUSE_FS_INET
 
 #ifndef WXPRECOMP
+    #include "wx/module.h"
 #endif
 
 #include "wx/wfstream.h"
 #include "wx/url.h"
 #include "wx/filesys.h"
 #include "wx/fs_inet.h"
 #endif
 
 #include "wx/wfstream.h"
 #include "wx/url.h"
 #include "wx/filesys.h"
 #include "wx/fs_inet.h"
-#include "wx/module.h"
 
 // ----------------------------------------------------------------------------
 // Helper classes
 
 // ----------------------------------------------------------------------------
 // Helper classes
index 25b8f5e175ca9799ab7516a6d148396d2892113c..a500a84a9774a47fbc600c3e20a3798b92fc1cf8 100644 (file)
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/bitmap.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/bitmap.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/imagbmp.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
 #endif
 
 #include "wx/imagbmp.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
-#include "wx/module.h"
 #include "wx/quantize.h"
 
 // For memcpy
 #include "wx/quantize.h"
 
 // For memcpy
index 28aaf842e2ea61ae843deec7fb471e9e22947257..0f42524c20327d4a0d4909d023c5d1c2e43d5081 100644 (file)
     #include "wx/utils.h"
     #include "wx/bitmap.h"
     #include "wx/math.h"
     #include "wx/utils.h"
     #include "wx/bitmap.h"
     #include "wx/math.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
 #endif
 
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
-#include "wx/module.h"
 
 #if wxUSE_XPM
     #include "wx/xpmdecod.h"
 
 #if wxUSE_XPM
     #include "wx/xpmdecod.h"
index 4db84ee61bde18b61028b1e709a456e81e4bf6d8..31e069e53a425a19805a6589665514cbb2da905e 100644 (file)
@@ -23,6 +23,7 @@
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/bitmap.h"
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/bitmap.h"
+    #include "wx/module.h"
 #endif
 
 // NB: Some compilers define boolean type in Windows headers
 #endif
 
 // NB: Some compilers define boolean type in Windows headers
@@ -45,7 +46,6 @@ extern "C"
 
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 
 // For memcpy
 #include <string.h>
 
 // For memcpy
 #include <string.h>
index 91167781f913bcab7f3af3da099ae8a02c958b15..69b04d1ea72c2b5bc69cb03ec84eca2f21ba5f81 100644 (file)
     #include "wx/intl.h"
     #include "wx/palette.h"
     #include "wx/hash.h"
     #include "wx/intl.h"
     #include "wx/palette.h"
     #include "wx/hash.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/imagpcx.h"
 #include "wx/wfstream.h"
 #endif
 
 #include "wx/imagpcx.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 
 //-----------------------------------------------------------------------------
 // wxPCXHandler
 
 //-----------------------------------------------------------------------------
 // wxPCXHandler
index 8261210c817b8192d74f8f7edc7da38de7dc7961..67c41464caafc53bdb3fdbfea5d09896f068f59f 100644 (file)
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/bitmap.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/bitmap.h"
+    #include "wx/module.h"
 #endif
 
 #include "png.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
 #endif
 
 #include "png.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 #include "wx/intl.h"
-#include "wx/module.h"
 
 // For memcpy
 #include <string.h>
 
 // For memcpy
 #include <string.h>
index 4db167ecbb838b1ecc01afe8be721ec0aa970659..00c11c56a8ed175123900ccf289b32bdd5b0330b 100644 (file)
@@ -23,6 +23,7 @@
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/bitmap.h"
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/bitmap.h"
+    #include "wx/module.h"
 #endif
 
 extern "C"
 #endif
 
 extern "C"
@@ -32,7 +33,6 @@ extern "C"
 }
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
 }
 #include "wx/filefn.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 
 #ifndef TIFFLINKAGEMODE
     #if defined(__WATCOMC__) && defined(__WXMGL__)
 
 #ifndef TIFFLINKAGEMODE
     #if defined(__WATCOMC__) && defined(__WXMGL__)
index b01d39cd9be6d3790f7a78ddb1748160f7eddf89..e699699702c36e7e5b9bd08e748b76882f2cd7e3 100644 (file)
     #include "wx/log.h"
     #include "wx/thread.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/thread.h"
     #include "wx/intl.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/init.h"
 
 #include "wx/ptr_scpd.h"
 #endif
 
 #include "wx/init.h"
 
 #include "wx/ptr_scpd.h"
-#include "wx/module.h"
 #include "wx/except.h"
 
 #if defined(__WXMSW__) && defined(__WXDEBUG__)
 #include "wx/except.h"
 
 #if defined(__WXMSW__) && defined(__WXDEBUG__)
index ad84ce7ba43aef476e0ab07a2a5ac3c0a53b079c..903769fc59d665919c7cf64da9802949a5827b86 100644 (file)
@@ -47,6 +47,7 @@
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/hashmap.h"
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/hashmap.h"
+    #include "wx/module.h"
 #endif // WX_PRECOMP
 
 #ifndef __WXWINCE__
 #endif // WX_PRECOMP
 
 #ifndef __WXWINCE__
@@ -69,7 +70,6 @@
 #include "wx/file.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
 #include "wx/file.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
-#include "wx/module.h"
 #include "wx/fontmap.h"
 #include "wx/encconv.h"
 #include "wx/ptr_scpd.h"
 #include "wx/fontmap.h"
 #include "wx/encconv.h"
 #include "wx/ptr_scpd.h"
index 43de8ee906d7e67c88d9edda872b194b426eb35f..db1cf082f363404ac8d1dc6f1a8e92e3621d0261 100644 (file)
@@ -34,9 +34,9 @@
     #include "wx/string.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/string.h"
     #include "wx/intl.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #endif //WX_PRECOMP
 
-#include "wx/module.h"
 #include "wx/file.h"
 #include "wx/iconloc.h"
 #include "wx/confbase.h"
 #include "wx/file.h"
 #include "wx/iconloc.h"
 #include "wx/confbase.h"
index 7f1cbfa40bb1c29dfe7c47bcb21238ef5413af11..fb2c1ca6d3ffa74011638a04728fc82e8ed4a0be 100644 (file)
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/intl.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/paper.h"
 #endif
 
 #include "wx/paper.h"
-#include "wx/module.h"
 
 #include <stdlib.h>
 #include <string.h>
 
 #include <stdlib.h>
 #include <string.h>
index 13ddf2a44f1991733e200ce764baca8055680eb8..eb1b10958326cfa944d4adf1c4c53f7a4427d202 100644 (file)
     #include "wx/intl.h"
     #include "wx/textdlg.h"
     #include "wx/sizer.h"
     #include "wx/intl.h"
     #include "wx/textdlg.h"
     #include "wx/sizer.h"
+    #include "wx/module.h"
 #endif // !WX_PRECOMP
 
 #include "wx/prntbase.h"
 #include "wx/printdlg.h"
 #include "wx/print.h"
 #endif // !WX_PRECOMP
 
 #include "wx/prntbase.h"
 #include "wx/printdlg.h"
 #include "wx/print.h"
-#include "wx/module.h"
 
 #include <stdlib.h>
 #include <string.h>
 
 #include <stdlib.h>
 #include <string.h>
index e92f3a089906b1d0fbd313b35fa028e063555b8a..7f1ba9d358f0d6a900091286215afdb9ee5eb8c5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        protocol.cpp
+// Name:        src/common/protocol.cpp
 // Purpose:     Implement protocol base class
 // Author:      Guilhem Lavaux
 // Modified by:
 // Purpose:     Implement protocol base class
 // Author:      Guilhem Lavaux
 // Modified by:
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_PROTOCOL
 
 #include "wx/protocol/protocol.h"
 #endif
 
 #if wxUSE_PROTOCOL
 
 #include "wx/protocol/protocol.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/module.h"
+#endif
+
 #include "wx/url.h"
 #include "wx/url.h"
-#include "wx/module.h"
 
 #include <stdlib.h>
 
 
 #include <stdlib.h>
 
@@ -198,7 +202,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result)
     *ret = 0;
 
     result = wxString::FromAscii( tmp_str );
     *ret = 0;
 
     result = wxString::FromAscii( tmp_str );
-    result = result.Left(result.Length()-1);
+    result = result.Left(result.length()-1);
 
     size = ret-tmp_str+1;
     sock->Unread(&tmp_buf[size], avail-size);
 
     size = ret-tmp_str+1;
     sock->Unread(&tmp_buf[size], avail-size);
@@ -209,4 +213,3 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result)
 #endif // wxUSE_SOCKETS
 
 #endif // wxUSE_PROTOCOL
 #endif // wxUSE_SOCKETS
 
 #endif // wxUSE_PROTOCOL
-
index 0ece73c6b01e229b7866058338ec8175eb5e41fb..f2b33bb2e2ad3b8898bac698d0011e3508adb379 100644 (file)
@@ -36,6 +36,7 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/event.h"
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/event.h"
+    #include "wx/module.h"
 #endif
 
 #include <stdlib.h>
 #endif
 
 #include <stdlib.h>
@@ -43,7 +44,6 @@
 #include <errno.h>
 
 #include "wx/socket.h"
 #include <errno.h>
 
 #include "wx/socket.h"
-#include "wx/module.h"
 
 // --------------------------------------------------------------------------
 // macros and constants
 
 // --------------------------------------------------------------------------
 // macros and constants
index 11d97cccc433cba57f797ac6e210cf7ed3179f2e..28a929198ce9ed97b8680ef100b52a537d5df2d8 100644 (file)
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/timer.h"
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
 #endif
 
 #include "wx/apptrait.h"
-#include "wx/module.h"
 
 #include "wx/sckaddr.h"
 #include "wx/datetime.h"
 
 #include "wx/sckaddr.h"
 #include "wx/datetime.h"
index 14ebd7b851971f4524348072b4f872d3a75c1aca..700cb18d7e59202335109af9dadf37250b61099f 100644 (file)
     #include "wx/list.h"
     #include "wx/string.h"
     #include "wx/utils.h"
     #include "wx/list.h"
     #include "wx/string.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include <string.h>
 #include <ctype.h>
 
 #include <string.h>
 #include <ctype.h>
 
index 147b72074cea4be8eb2786bba69c90a5919459dd..b9ba4dd4e555373220d2a73b545c22e7fc22d6fd 100644 (file)
@@ -37,9 +37,9 @@
     #include "wx/textdlg.h"
     #include "wx/gdicmn.h"
     #include "wx/image.h"
     #include "wx/textdlg.h"
     #include "wx/gdicmn.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/filefn.h"
 #include "wx/imaglist.h"
 #include "wx/tokenzr.h"
 #include "wx/filefn.h"
 #include "wx/imaglist.h"
 #include "wx/tokenzr.h"
index 138321f6bfb3fbdcb52bd7f825b8bb34dd9e83d0..11c05ae4b3673af14906fd406a67fc0ba2d1970c 100644 (file)
     #include "wx/dc.h"
     #include "wx/settings.h"
     #include "wx/gdicmn.h"
     #include "wx/dc.h"
     #include "wx/settings.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #include "wx/splitter.h"
 #include "wx/dcmirror.h"
 #endif //WX_PRECOMP
 
 #include "wx/splitter.h"
 #include "wx/dcmirror.h"
-#include "wx/module.h"
 
 // ----------------------------------------------------------------------------
 // wxRendererGeneric: our wxRendererNative implementation
 
 // ----------------------------------------------------------------------------
 // wxRendererGeneric: our wxRendererNative implementation
index 92b513ef35f2823e79653c926647c6b2a39540ba..a2daf62003aac3cd53fa04e0be7ae480de910899 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 // ----------------------------------------------------------------------------
 // Time input function
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // Time input function
 // ----------------------------------------------------------------------------
index f1de4e09518e5c825d3754b06e0a17b857c72bc1..9d4c51c768147556f7bd44c1bce88855ac09e7e5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        artstd.cpp
+// Name:        src/gtk/artstd.cpp
 // Purpose:     stock wxArtProvider instance with native GTK+ stock icons
 // Author:      Vaclav Slavik
 // Modified by:
 // Purpose:     stock wxArtProvider instance with native GTK+ stock icons
 // Author:      Vaclav Slavik
 // Modified by:
 #if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
 
 #include "wx/artprov.h"
 #if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
 
 #include "wx/artprov.h"
-#include "wx/module.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/module.h"
+#endif
+
 #include "wx/gtk/private.h"
 
 #include <gtk/gtk.h>
 #include "wx/gtk/private.h"
 
 #include <gtk/gtk.h>
@@ -175,7 +179,7 @@ static GtkIconSize FindClosestIconSize(const wxSize& size)
         if (size.x > s_sizes[i].x || size.y > s_sizes[i].y)
             continue;
 
         if (size.x > s_sizes[i].x || size.y > s_sizes[i].y)
             continue;
 
-        unsigned dist = (size.x - s_sizes[i].x) * (size.x - s_sizes[i].x) + 
+        unsigned dist = (size.x - s_sizes[i].x) * (size.x - s_sizes[i].x) +
                         (size.y - s_sizes[i].y) * (size.y - s_sizes[i].y);
         if (dist == 0)
             return s_sizes[i].icon;
                         (size.y - s_sizes[i].y) * (size.y - s_sizes[i].y);
         if (dist == 0)
             return s_sizes[i].icon;
index c5ce2eea4411da461df69047852a19f6768174ad..ff8c5aeb752926eab9d147160f56079592f5271d 100644 (file)
@@ -22,9 +22,9 @@
     #include "wx/dcmemory.h"
     #include "wx/math.h" // for floating-point functions
     #include "wx/image.h"
     #include "wx/dcmemory.h"
     #include "wx/math.h" // for floating-point functions
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 #include "wx/gtk/win_gtk.h"
 #include "wx/fontutil.h"
 
 #include "wx/gtk/win_gtk.h"
index c0969bd6e09d987a1aa222893d73718b1bdbd311..85d0451334a94768604e00059099e2ce0830ccb2 100644 (file)
     #include "wx/app.h"
     #include "wx/frame.h"
     #include "wx/colour.h"
     #include "wx/app.h"
     #include "wx/frame.h"
     #include "wx/colour.h"
+    #include "wx/module.h"
 #endif // WX_PRECOMP
 
 #endif // WX_PRECOMP
 
-#include "wx/module.h"
-
 extern "C"
 {
 #include "gtk/gtk.h"
 extern "C"
 {
 #include "gtk/gtk.h"
index aabe61aa63f3a7f884bd188d87dca85af3882908..5f3ab6ed253b744a439ff1373981269f3b9fc94a 100644 (file)
     #include "wx/icon.h"
     #include "wx/math.h"
     #include "wx/image.h"
     #include "wx/icon.h"
     #include "wx/math.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/fontutil.h"
 #include "wx/gtk/private.h"
 #endif
 
 #include "wx/fontutil.h"
 #include "wx/gtk/private.h"
-#include "wx/module.h"
 #include "wx/dynlib.h"
 
 #include <libgnomeprint/gnome-print.h>
 #include "wx/dynlib.h"
 
 #include <libgnomeprint/gnome-print.h>
index 84b3af17d281b601fe380cec75297701c4308654..d3f9fbb0748c77bb9bf89ac76deafa81137fac8a 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/mimetype.h"
 #include "wx/gtk/private.h"
 #endif
 
 #include "wx/mimetype.h"
 #include "wx/gtk/private.h"
-#include "wx/module.h"
 #include "wx/dynlib.h"
 
 #include <libgnomevfs/gnome-vfs-mime-handlers.h>
 #include "wx/dynlib.h"
 
 #include <libgnomevfs/gnome-vfs-mime-handlers.h>
index 50e012ad3baff8eea50b2db6b6c6033cf6cbf0d6..435f9213948abab926b74704713f84e5a27f68d5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/gtk/thread.cpp
+// Name:        src/gtk/threadno.cpp
 // Purpose:     Solaris thread support
 // Author:      Guilhem Lavaux
 // Modified by:
 // Purpose:     Solaris thread support
 // Author:      Guilhem Lavaux
 // Modified by:
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/wx.h"
 #endif
 
 #include "wx/wx.h"
-#include "wx/module.h"
 
 wxMutex::wxMutex()
 {
 
 wxMutex::wxMutex()
 {
@@ -69,7 +69,7 @@ void wxCondition::Wait(wxMutex& WXUNUSED(mutex))
 bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
         unsigned long WXUNUSED(nsec))
 {
 bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
         unsigned long WXUNUSED(nsec))
 {
-    return FALSE;
+    return false;
 }
 
 void wxCondition::Signal()
 }
 
 void wxCondition::Signal()
@@ -128,17 +128,17 @@ unsigned long wxThread::GetID() const
 
 bool wxThread::IsMain()
 {
 
 bool wxThread::IsMain()
 {
-    return TRUE;
+    return true;
 }
 
 bool wxThread::IsRunning() const
 {
 }
 
 bool wxThread::IsRunning() const
 {
-    return FALSE;
+    return false;
 }
 
 bool wxThread::IsAlive() const
 {
 }
 
 bool wxThread::IsAlive() const
 {
-    return FALSE;
+    return false;
 }
 
 void wxThread::SetPriority(int WXUNUSED(prio)) { }
 }
 
 void wxThread::SetPriority(int WXUNUSED(prio)) { }
@@ -170,7 +170,7 @@ bool wxThreadModule::OnInit()
 {
     wxMainMutex = new wxMutex();
     wxMainMutex->Lock();
 {
     wxMainMutex = new wxMutex();
     wxMainMutex->Lock();
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()
 }
 
 void wxThreadModule::OnExit()
index fdf7740181acbcf99a6b691d99812d4f634462aa..f8d7d177e0ffb1171be2930c24876246a048cfa0 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/utils.h"
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -25,7 +26,6 @@
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/prctl.h>
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/prctl.h>
-#include "wx/module.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
index a6544f8fe63403a26db675e6b9ffe1201b11759c..abae449a8a612385f4c044211de16bb2ec791261 100644 (file)
     #include "wx/layout.h"
     #include "wx/statusbr.h"
     #include "wx/math.h"
     #include "wx/layout.h"
     #include "wx/statusbr.h"
     #include "wx/math.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
@@ -2359,7 +2358,7 @@ void wxWindowGTK::Init()
     m_hasVMT = false;
     m_needParent = true;
     m_isBeingDeleted = false;
     m_hasVMT = false;
     m_needParent = true;
     m_isBeingDeleted = false;
-    
+
     m_showOnIdle= false;
 
     m_noExpose = false;
     m_showOnIdle= false;
 
     m_noExpose = false;
@@ -2878,7 +2877,7 @@ bool wxWindowGTK::GtkShowFromOnIdle()
         m_showOnIdle = false;
         return true;
     }
         m_showOnIdle = false;
         return true;
     }
-    
+
     return false;
 }
 
     return false;
 }
 
@@ -2900,7 +2899,7 @@ void wxWindowGTK::OnInternalIdle()
         SetBackgroundStyle(GetBackgroundStyle());
         m_needsStyleChange = false;
     }
         SetBackgroundStyle(GetBackgroundStyle());
         m_needsStyleChange = false;
     }
-    
+
     wxCursor cursor = m_cursor;
     if (g_globalCursor.Ok()) cursor = g_globalCursor;
 
     wxCursor cursor = m_cursor;
     if (g_globalCursor.Ok()) cursor = g_globalCursor;
 
@@ -3381,7 +3380,7 @@ bool wxWindowGTK::Reparent( wxWindowBase *newParentBase )
             m_showOnIdle = true;
             gtk_widget_hide( m_widget );
         }
             m_showOnIdle = true;
             gtk_widget_hide( m_widget );
         }
-    
+
         /* insert GTK representation */
         (*(newParent->m_insertCallback))(newParent, this);
     }
         /* insert GTK representation */
         (*(newParent->m_insertCallback))(newParent, this);
     }
@@ -3643,7 +3642,7 @@ void wxWindowGTK::Refresh( bool eraseBackground, const wxRect *rect )
     if (m_wxwindow)
     {
         if (!GTK_PIZZA(m_wxwindow)->bin_window) return;
     if (m_wxwindow)
     {
         if (!GTK_PIZZA(m_wxwindow)->bin_window) return;
-    
+
         GdkRectangle gdk_rect,
                     *p;
         if (rect)
         GdkRectangle gdk_rect,
                     *p;
         if (rect)
@@ -4316,4 +4315,3 @@ void wxRemoveGrab(wxWindow* window)
 {
     gtk_grab_remove( (GtkWidget*) window->GetHandle() );
 }
 {
     gtk_grab_remove( (GtkWidget*) window->GetHandle() );
 }
-
index 24d091a8978c8f8748411578e140b1be1561c6a4..748f9d57d43d19b2550e89bfb4c2955dc22aac35 100644 (file)
     #include "wx/font.h"
     #include "wx/gdicmn.h"
     #include "wx/image.h"
     #include "wx/font.h"
     #include "wx/gdicmn.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/file.h"
 #include "wx/filename.h"
 #endif
 
 #include "wx/file.h"
 #include "wx/filename.h"
-#include "wx/module.h"
 #include "wx/thread.h"
 
 #ifdef __WXGPE__
 #include "wx/thread.h"
 
 #ifdef __WXGPE__
index 6dd1e9f48d671f3997a957bd502d4c5f5d08207f..329d62d9ebeb9988f2ba0c848c91788998b7688c 100644 (file)
@@ -21,9 +21,9 @@
     #include "wx/dcmemory.h"
     #include "wx/math.h" // for floating-point functions
     #include "wx/image.h"
     #include "wx/dcmemory.h"
     #include "wx/math.h" // for floating-point functions
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 #include "wx/gtk1/win_gtk.h"
 #include "wx/fontutil.h"
 
 #include "wx/gtk1/win_gtk.h"
index ec920d0800d87f4885b3fad3b86d8e95c7a7460e..235c0de0d7befebbf433fcd80bcdeab70962160d 100644 (file)
     #include "wx/app.h"
     #include "wx/frame.h"
     #include "wx/colour.h"
     #include "wx/app.h"
     #include "wx/frame.h"
     #include "wx/colour.h"
+    #include "wx/module.h"
 #endif // WX_PRECOMP
 
 #endif // WX_PRECOMP
 
-#include "wx/module.h"
-
 extern "C"
 {
 #include "gtk/gtk.h"
 extern "C"
 {
 #include "gtk/gtk.h"
index 67d932e80af0ec6316a1fdb07eda6cb95209d1b6..a4bcf8a517369ab24c2999e1e163163d73b4b6be 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/gtk1/thread.cpp
+// Name:        src/gtk1/threadno.cpp
 // Purpose:     Solaris thread support
 // Author:      Guilhem Lavaux
 // Modified by:
 // Purpose:     Solaris thread support
 // Author:      Guilhem Lavaux
 // Modified by:
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
     #include "wx/log.h"
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 wxMutex::wxMutex()
 {
     m_locked = 0;
 wxMutex::wxMutex()
 {
     m_locked = 0;
@@ -69,7 +68,7 @@ void wxCondition::Wait(wxMutex& WXUNUSED(mutex))
 bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
         unsigned long WXUNUSED(nsec))
 {
 bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
         unsigned long WXUNUSED(nsec))
 {
-    return FALSE;
+    return false;
 }
 
 void wxCondition::Signal()
 }
 
 void wxCondition::Signal()
@@ -128,17 +127,17 @@ unsigned long wxThread::GetID() const
 
 bool wxThread::IsMain()
 {
 
 bool wxThread::IsMain()
 {
-    return TRUE;
+    return true;
 }
 
 bool wxThread::IsRunning() const
 {
 }
 
 bool wxThread::IsRunning() const
 {
-    return FALSE;
+    return false;
 }
 
 bool wxThread::IsAlive() const
 {
 }
 
 bool wxThread::IsAlive() const
 {
-    return FALSE;
+    return false;
 }
 
 void wxThread::SetPriority(int WXUNUSED(prio)) { }
 }
 
 void wxThread::SetPriority(int WXUNUSED(prio)) { }
@@ -170,7 +169,7 @@ bool wxThreadModule::OnInit()
 {
     wxMainMutex = new wxMutex();
     wxMainMutex->Lock();
 {
     wxMainMutex = new wxMutex();
     wxMainMutex->Lock();
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()
 }
 
 void wxThreadModule::OnExit()
index b4e1b4ab82a630989095662da2af127b8d08c6d4..8f49d94a32d902b7e456bb7a96b9bccfc4ccd4ce 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/utils.h"
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -25,7 +26,6 @@
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/prctl.h>
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/prctl.h>
-#include "wx/module.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
index 98c21e02b30f75006be46c8f7c6191371657712c..cbb766c42bb28ddf0124223744b139853a8ccf5a 100644 (file)
     #include "wx/layout.h"
     #include "wx/statusbr.h"
     #include "wx/math.h"
     #include "wx/layout.h"
     #include "wx/statusbr.h"
     #include "wx/math.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
index 70c48e269483f022850f3b6e23262f85bcfea473..4d8dba1662d209efee4b7910c07a8f149d256fca 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        chm.cpp
+// Name:        src/html/chm.cpp
 // Purpose:     CHM (Help) support for wxHTML
 // Author:      Markus Sinner
 // Copyright:   (c) 2003 Herd Software Development
 // Purpose:     CHM (Help) support for wxHTML
 // Author:      Markus Sinner
 // Copyright:   (c) 2003 Herd Software Development
@@ -10,7 +10,7 @@
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_LIBMSPACK
 #endif
 
 #if wxUSE_LIBMSPACK
 #include <mspack.h>
 
 #ifndef WXPRECOMP
 #include <mspack.h>
 
 #ifndef WXPRECOMP
-#include "wx/intl.h"
-#include "wx/log.h"
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/filesys.h"
 #include "wx/mstream.h"
 #include "wx/wfstream.h"
 #include "wx/filesys.h"
 #include "wx/mstream.h"
 #include "wx/wfstream.h"
@@ -637,7 +637,7 @@ wxChmInputStream::CreateHHPStream()
                         wxUint32 lcid = wxUINT32_SWAP_ON_BE( dummy ) ;
                         wxString msg ;
                         msg.Printf(_T("Language=0x%X\r\n"),lcid) ;
                         wxUint32 lcid = wxUINT32_SWAP_ON_BE( dummy ) ;
                         wxString msg ;
                         msg.Printf(_T("Language=0x%X\r\n"),lcid) ;
-                        out->Write(msg.c_str() , msg.Length() ) ;
+                        out->Write(msg.c_str() , msg.length() ) ;
                     }
                     break ;
                 default:
                     }
                     break ;
                 default:
@@ -673,7 +673,7 @@ wxChmInputStream::CreateHHPStream()
             tmp = "Index File=*.hhk\r\n";
             out->Write((const void *) tmp, strlen(tmp));
         }
             tmp = "Index File=*.hhk\r\n";
             out->Write((const void *) tmp, strlen(tmp));
         }
-        
+
         // Now copy the Data from the memory
         out->SeekO(0, wxFromEnd);
         m_size = out->TellO();
         // Now copy the Data from the memory
         out->SeekO(0, wxFromEnd);
         m_size = out->TellO();
index 3a100af4d6c65654147fa1d37217c66967ccac9d..95d81d6abc5351d15420382d59c916efb8085a7d 100644 (file)
     #include "wx/colour.h"
     #include "wx/dc.h"
     #include "wx/settings.h"
     #include "wx/colour.h"
     #include "wx/dc.h"
     #include "wx/settings.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/html/htmlcell.h"
 #include "wx/html/htmlwin.h"
 #endif
 
 #include "wx/html/htmlcell.h"
 #include "wx/html/htmlwin.h"
-#include "wx/module.h"
 
 #include <stdlib.h>
 
 
 #include <stdlib.h>
 
index 0dd8817e522d12d66638d2d6185468d8af28eb21..80fa77356431fa679e6ac7b32d953c5303a6cdb9 100644 (file)
@@ -23,6 +23,7 @@
     #include "wx/dc.h"
     #include "wx/settings.h"
     #include "wx/msgdlg.h"
     #include "wx/dc.h"
     #include "wx/settings.h"
     #include "wx/msgdlg.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/print.h"
 #endif
 
 #include "wx/print.h"
@@ -30,7 +31,6 @@
 #include "wx/html/htmprint.h"
 #include "wx/wxhtml.h"
 #include "wx/wfstream.h"
 #include "wx/html/htmprint.h"
 #include "wx/wxhtml.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 
 
 //--------------------------------------------------------------------------------
 
 
 //--------------------------------------------------------------------------------
index 973bb8065df4799ad2d6fca2e5504e688d973331..080f0dcb35b83d7113f90e50d2d6b4029607c182 100644 (file)
@@ -32,9 +32,9 @@
     #include "wx/textctrl.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
     #include "wx/textctrl.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
@@ -45,9 +45,9 @@
 // mac
 
 #ifndef __DARWIN__
 // mac
 
 #ifndef __DARWIN__
-  #if __option(profile)
-    #include <profiler.h>
-  #endif
+    #if __option(profile)
+        #include <profiler.h>
+    #endif
 #endif
 
 // #include "apprsrc.h"
 #endif
 
 // #include "apprsrc.h"
index bc527d02c23a7692c915665b9f0d5c81be268f96..a8a331f03d5b0ed032ba0c8ed56af515540a7d07 100644 (file)
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/timer.h"
     #include "wx/app.h"
     #include "wx/utils.h"
     #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
 #endif
 
 #include "wx/apptrait.h"
-#include "wx/module.h"
 
 #include "wx/sckaddr.h"
 #include "wx/mac/carbon/private.h"
 
 #include "wx/sckaddr.h"
 #include "wx/mac/carbon/private.h"
index 3e1b73d874e1d7eb5ff75d06e34c02502ef0ba9f..a4bbc91059171aa1a6d1c712a63c1494c449bde1 100644 (file)
@@ -15,9 +15,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
 
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/link.h"
 #include "wx/mac/private.h"
 
 #include "wx/link.h"
 #include "wx/mac/private.h"
 
index edf27aaf3cc9cb4aa1f43c189d2fd837472d6760..30bb2a008789aa84eb8244e3deadf80f0b6a1985 100755 (executable)
@@ -25,9 +25,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
@@ -216,11 +216,11 @@ wxMutexError wxMutexInternal::TryLock()
 wxMutexError wxMutexInternal::Unlock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
 wxMutexError wxMutexInternal::Unlock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
-       OSStatus err = MPSignalSemaphore( m_semaphore);
-       if ( err)
+    OSStatus err = MPSignalSemaphore( m_semaphore);
+    if ( err)
     {
     {
-               wxLogSysError(_("Could not unlock mutex"));
-               return wxMUTEX_MISC_ERROR;
+        wxLogSysError(_("Could not unlock mutex"));
+        return wxMUTEX_MISC_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
@@ -231,13 +231,13 @@ wxMutexError wxMutexInternal::Unlock()
 class wxMutexInternal
 {
 public:
 class wxMutexInternal
 {
 public:
-       wxMutexInternal(wxMutexType mutexType) ;
-       ~wxMutexInternal() ;
-       bool IsOk() const { return m_isOk; }
+    wxMutexInternal(wxMutexType mutexType) ;
+    ~wxMutexInternal() ;
+    bool IsOk() const { return m_isOk; }
 
 
-       wxMutexError Lock() ;
-       wxMutexError TryLock() ;
-       wxMutexError Unlock();
+    wxMutexError Lock() ;
+    wxMutexError TryLock() ;
+    wxMutexError Unlock();
 private:
     MPCriticalRegionID m_critRegion ;
     bool m_isOk ;
 private:
     MPCriticalRegionID m_critRegion ;
     bool m_isOk ;
@@ -259,17 +259,17 @@ wxMutexInternal::wxMutexInternal(wxMutexType mutexType )
 wxMutexInternal::~wxMutexInternal()
 {
     if ( m_critRegion != kInvalidID )
 wxMutexInternal::~wxMutexInternal()
 {
     if ( m_critRegion != kInvalidID )
-           MPDeleteCriticalRegion( m_critRegion);
+        MPDeleteCriticalRegion( m_critRegion);
 }
 
 wxMutexError wxMutexInternal::Lock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
 }
 
 wxMutexError wxMutexInternal::Lock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
-       OSStatus err = MPEnterCriticalRegion( m_critRegion, kDurationForever);
-       if ( err)
+    OSStatus err = MPEnterCriticalRegion( m_critRegion, kDurationForever);
+    if ( err)
     {
     {
-               wxLogSysError(wxT("Could not lock mutex"));
-               return wxMUTEX_MISC_ERROR;
+        wxLogSysError(wxT("Could not lock mutex"));
+        return wxMUTEX_MISC_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
@@ -278,15 +278,15 @@ wxMutexError wxMutexInternal::Lock()
 wxMutexError wxMutexInternal::TryLock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
 wxMutexError wxMutexInternal::TryLock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
-       OSStatus err = MPEnterCriticalRegion( m_critRegion, kDurationImmediate);
-       if ( err)
+    OSStatus err = MPEnterCriticalRegion( m_critRegion, kDurationImmediate);
+    if ( err)
     {
     {
-               if ( err == kMPTimeoutErr)
-               {
-                       return wxMUTEX_BUSY;
-               }
-               wxLogSysError(wxT("Could not try lock mutex"));
-               return wxMUTEX_MISC_ERROR;
+        if ( err == kMPTimeoutErr)
+        {
+            return wxMUTEX_BUSY;
+        }
+        wxLogSysError(wxT("Could not try lock mutex"));
+        return wxMUTEX_MISC_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
@@ -295,11 +295,11 @@ wxMutexError wxMutexInternal::TryLock()
 wxMutexError wxMutexInternal::Unlock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
 wxMutexError wxMutexInternal::Unlock()
 {
     wxCHECK_MSG( m_isOk , wxMUTEX_MISC_ERROR , wxT("Invalid Mutex") ) ;
-       OSStatus err = MPExitCriticalRegion( m_critRegion);
-       if ( err)
+    OSStatus err = MPExitCriticalRegion( m_critRegion);
+    if ( err)
     {
     {
-               wxLogSysError(_("Could not unlock mutex"));
-               return wxMUTEX_MISC_ERROR;
+        wxLogSysError(_("Could not unlock mutex"));
+        return wxMUTEX_MISC_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
     }
 
     return wxMUTEX_NO_ERROR;
@@ -314,23 +314,23 @@ wxMutexError wxMutexInternal::Unlock()
 class wxSemaphoreInternal
 {
 public:
 class wxSemaphoreInternal
 {
 public:
-       wxSemaphoreInternal(int initialcount, int maxcount);
-       ~wxSemaphoreInternal();
+    wxSemaphoreInternal(int initialcount, int maxcount);
+    ~wxSemaphoreInternal();
 
 
-       bool IsOk() const { return m_isOk; }
+    bool IsOk() const { return m_isOk; }
 
 
-       wxSemaError WaitTimeout(unsigned long milliseconds);
+    wxSemaError WaitTimeout(unsigned long milliseconds);
 
 
-       wxSemaError Wait() { return WaitTimeout( kDurationForever); }
+    wxSemaError Wait() { return WaitTimeout( kDurationForever); }
 
 
-       wxSemaError TryWait()
-       {
-           wxSemaError err = WaitTimeout(kDurationImmediate);
-           if ( err == wxSEMA_TIMEOUT )
-               err = wxSEMA_BUSY ;
-           return err ;
-       }
-       wxSemaError Post();
+    wxSemaError TryWait()
+    {
+        wxSemaError err = WaitTimeout(kDurationImmediate);
+        if ( err == wxSEMA_TIMEOUT )
+            err = wxSEMA_BUSY ;
+        return err ;
+    }
+    wxSemaError Post();
 
 private:
     MPSemaphoreID m_semaphore;
 
 private:
     MPSemaphoreID m_semaphore;
@@ -342,12 +342,12 @@ wxSemaphoreInternal::wxSemaphoreInternal(int initialcount, int maxcount)
     wxMacMPThreadsInitVerify() ;
     m_isOk = false ;
     m_semaphore = kInvalidID ;
     wxMacMPThreadsInitVerify() ;
     m_isOk = false ;
     m_semaphore = kInvalidID ;
-       if ( maxcount == 0 )
+    if ( maxcount == 0 )
     {
     {
-               // make it practically infinite
-               maxcount = INT_MAX;
+        // make it practically infinite
+        maxcount = INT_MAX;
     }
     }
-       verify_noerr( MPCreateSemaphore( maxcount, initialcount, & m_semaphore) );
+    verify_noerr( MPCreateSemaphore( maxcount, initialcount, & m_semaphore) );
     m_isOk = ( m_semaphore != kInvalidID ) ;
 
     if ( !IsOk() )
     m_isOk = ( m_semaphore != kInvalidID ) ;
 
     if ( !IsOk() )
@@ -357,31 +357,31 @@ wxSemaphoreInternal::wxSemaphoreInternal(int initialcount, int maxcount)
 wxSemaphoreInternal::~wxSemaphoreInternal()
 {
     if( m_semaphore != kInvalidID )
 wxSemaphoreInternal::~wxSemaphoreInternal()
 {
     if( m_semaphore != kInvalidID )
-           MPDeleteSemaphore( m_semaphore);
+        MPDeleteSemaphore( m_semaphore);
 }
 
 wxSemaError wxSemaphoreInternal::WaitTimeout(unsigned long milliseconds)
 {
 }
 
 wxSemaError wxSemaphoreInternal::WaitTimeout(unsigned long milliseconds)
 {
-       OSStatus err = MPWaitOnSemaphore( m_semaphore, milliseconds);
-       if ( err)
+    OSStatus err = MPWaitOnSemaphore( m_semaphore, milliseconds);
+    if ( err)
     {
     {
-               if ( err == kMPTimeoutErr)
-               {
-                       return wxSEMA_TIMEOUT;
-               }
-               return wxSEMA_MISC_ERROR;
+        if ( err == kMPTimeoutErr)
+        {
+            return wxSEMA_TIMEOUT;
+        }
+        return wxSEMA_MISC_ERROR;
     }
     }
-       return wxSEMA_NO_ERROR;
+    return wxSEMA_NO_ERROR;
 }
 
 wxSemaError wxSemaphoreInternal::Post()
 {
 }
 
 wxSemaError wxSemaphoreInternal::Post()
 {
-       OSStatus err = MPSignalSemaphore( m_semaphore);
-       if ( err)
+    OSStatus err = MPSignalSemaphore( m_semaphore);
+    if ( err)
     {
     {
-               return wxSEMA_MISC_ERROR;
+        return wxSEMA_MISC_ERROR;
     }
     }
-       return wxSEMA_NO_ERROR;
+    return wxSEMA_NO_ERROR;
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------
@@ -394,50 +394,50 @@ class wxConditionInternal
 {
 public:
 
 {
 public:
 
-       wxConditionInternal(wxMutex& mutex)
+    wxConditionInternal(wxMutex& mutex)
     : m_mutex( mutex),
     : m_mutex( mutex),
-       m_semaphore( 0, 1),
-       m_gate( 1, 1)
-       {
-               m_waiters = 0;
-               m_signals = 0;
-               m_canceled = 0;
-       }
+    m_semaphore( 0, 1),
+    m_gate( 1, 1)
+    {
+        m_waiters = 0;
+        m_signals = 0;
+        m_canceled = 0;
+    }
 
 
-       ~wxConditionInternal()
-       {
-       }
+    ~wxConditionInternal()
+    {
+    }
 
 
-       bool IsOk() const { return m_mutex.IsOk() ; }
+    bool IsOk() const { return m_mutex.IsOk() ; }
 
 
-       wxCondError Wait()
-       {
-               return WaitTimeout( kDurationForever);
-       }
+    wxCondError Wait()
+    {
+        return WaitTimeout( kDurationForever);
+    }
 
 
-       wxCondError WaitTimeout(unsigned long msectimeout);
+    wxCondError WaitTimeout(unsigned long msectimeout);
 
 
-       wxCondError Signal()
-       {
-               return DoSignal( false);
-       }
+    wxCondError Signal()
+    {
+        return DoSignal( false);
+    }
 
 
-       wxCondError Broadcast()
-       {
-               return DoSignal( true);
-       }
+    wxCondError Broadcast()
+    {
+        return DoSignal( true);
+    }
 
 private:
 
 
 private:
 
-               wxCondError DoSignal( bool signalAll);
+    wxCondError DoSignal( bool signalAll);
 
 
-       wxMutex&          m_mutex;
-       wxSemaphoreInternal     m_semaphore;  // Signals the waiting threads.
-       wxSemaphoreInternal       m_gate;
-       wxCriticalSection m_varSection;
-       size_t    m_waiters;    // Number of threads waiting for a signal.
-       size_t          m_signals;      // Number of signals to send.
-       size_t    m_canceled;   // Number of canceled waiters in m_waiters.
+    wxMutex&                m_mutex;
+    wxSemaphoreInternal     m_semaphore;  // Signals the waiting threads.
+    wxSemaphoreInternal     m_gate;
+    wxCriticalSection       m_varSection;
+    size_t                  m_waiters;    // Number of threads waiting for a signal.
+    size_t                  m_signals;    // Number of signals to send.
+    size_t                  m_canceled;   // Number of canceled waiters in m_waiters.
 };
 
 
 };
 
 
index 7a981d6206b2208b99136c3f7f9007386cabe3c1..b8302e571fa98fdf8f52a6d41f065f95ef2bf105 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
+    #include "wx/module.h"
 #endif
 
 #if wxUSE_THREADS
 
 #endif
 
 #if wxUSE_THREADS
 
-#include "wx/module.h"
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
index 16f2be2066d6e1eab4adaf3bdba437c9e50c1726..80a5cd86da8ff4f325f14900f4ad662d06a250a1 100644 (file)
@@ -36,9 +36,9 @@
     #include "wx/textctrl.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
     #include "wx/textctrl.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
 #include "wx/tooltip.h"
 #include "wx/docview.h"
 #include "wx/filename.h"
@@ -48,9 +48,9 @@
 // mac
 
 #ifndef __DARWIN__
 // mac
 
 #ifndef __DARWIN__
-  #if __option(profile)
-    #include <profiler.h>
-  #endif
+    #if __option(profile)
+        #include <profiler.h>
+    #endif
 #endif
 
 #include "apprsrc.h"
 #endif
 
 #include "apprsrc.h"
index ee31c8e7df788fda13221a798acd9a65e438ad27..52f7603ee362b8465165de0ea45d145d0403c178 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        thread.cpp
+// Name:        src/mac/classic/thread.cpp
 // Purpose:     wxThread Implementation
 // Author:      Original from Wolfram Gloger/Guilhem Lavaux/Vadim Zeitlin
 // Modified by: Stefan Csomor
 // Purpose:     wxThread Implementation
 // Author:      Original from Wolfram Gloger/Guilhem Lavaux/Vadim Zeitlin
 // Modified by: Stefan Csomor
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
 
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
+    #include "wx/module.h"
 #endif
 
 #if wxUSE_THREADS
 
 #endif
 
 #if wxUSE_THREADS
 
-#include "wx/module.h"
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
 #include "wx/thread.h"
 
 #ifdef __WXMAC__
@@ -60,7 +60,7 @@ enum wxThreadState
 // ----------------------------------------------------------------------------
 
 static ThreadID gs_idMainThread = kNoThreadID ;
 // ----------------------------------------------------------------------------
 
 static ThreadID gs_idMainThread = kNoThreadID ;
-static bool gs_waitingForThread = FALSE ;
+static bool gs_waitingForThread = false ;
 size_t g_numberOfThreads = 0;
 
 // ============================================================================
 size_t g_numberOfThreads = 0;
 
 // ============================================================================
@@ -433,7 +433,7 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize)
     if ( err != noErr )
     {
         wxLogSysError(_("Can't create thread"));
     if ( err != noErr )
     {
         wxLogSysError(_("Can't create thread"));
-        return FALSE;
+        return false;
     }
 
     if ( m_priority != WXTHREAD_DEFAULT_PRIORITY )
     }
 
     if ( m_priority != WXTHREAD_DEFAULT_PRIORITY )
@@ -443,7 +443,7 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize)
 
     m_state = STATE_NEW;
 
 
     m_state = STATE_NEW;
 
-    return TRUE;
+    return true;
 }
 
 bool wxThreadInternal::Suspend()
 }
 
 bool wxThreadInternal::Suspend()
@@ -458,14 +458,14 @@ bool wxThreadInternal::Suspend()
         err = ::ThreadEndCritical() ;
         wxASSERT( err == noErr ) ;
         wxLogSysError(_("Can not suspend thread %x"), m_tid);
         err = ::ThreadEndCritical() ;
         wxASSERT( err == noErr ) ;
         wxLogSysError(_("Can not suspend thread %x"), m_tid);
-        return FALSE;
+        return false;
     }
 
     m_state = STATE_PAUSED;
 
     err = ::SetThreadStateEndCritical(m_tid, kStoppedThreadState, kNoThreadID);
 
     }
 
     m_state = STATE_PAUSED;
 
     err = ::SetThreadStateEndCritical(m_tid, kStoppedThreadState, kNoThreadID);
 
-    return TRUE;
+    return true;
 }
 
 bool wxThreadInternal::Resume()
 }
 
 bool wxThreadInternal::Resume()
@@ -485,7 +485,7 @@ bool wxThreadInternal::Resume()
         err = ::ThreadEndCritical() ;
         wxASSERT( err == noErr ) ;
         wxLogSysError(_("Can not resume thread %x"), m_tid);
         err = ::ThreadEndCritical() ;
         wxASSERT( err == noErr ) ;
         wxLogSysError(_("Can not resume thread %x"), m_tid);
-        return FALSE;
+        return false;
 
     }
     err = ::SetThreadStateEndCritical(m_tid, kReadyThreadState, kNoThreadID);
 
     }
     err = ::SetThreadStateEndCritical(m_tid, kReadyThreadState, kNoThreadID);
@@ -494,7 +494,7 @@ bool wxThreadInternal::Resume()
     err = ::ThreadEndCritical() ;
     wxASSERT( err == noErr ) ;
     ::YieldToAnyThread() ;
     err = ::ThreadEndCritical() ;
     wxASSERT( err == noErr ) ;
     ::YieldToAnyThread() ;
-    return TRUE;
+    return true;
 }
 
 // static functions
 }
 
 // static functions
@@ -545,7 +545,7 @@ void wxThread::Sleep(unsigned long milliseconds)
     double mssleep = milliseconds * 1000 ;
     double msstart, msnow ;
     msstart = (start.hi * 4294967296.0 + start.lo) ;
     double mssleep = milliseconds * 1000 ;
     double msstart, msnow ;
     msstart = (start.hi * 4294967296.0 + start.lo) ;
-    
+
     do
     {
         YieldToAnyThread();
     do
     {
         YieldToAnyThread();
@@ -583,7 +583,7 @@ bool wxThread::SetConcurrency(size_t level)
         return level == 1;
     }
 
         return level == 1;
     }
 
-    return TRUE ;
+    return true ;
 }
 
 // ctor and dtor
 }
 
 // ctor and dtor
@@ -688,7 +688,7 @@ wxThreadError wxThread::Delete(ExitCode *pRc)
     // Delete() is always safe to call, so consider all possible states
 
     // has the thread started to run?
     // Delete() is always safe to call, so consider all possible states
 
     // has the thread started to run?
-    bool shouldResume = FALSE;
+    bool shouldResume = false;
 
     {
         wxCriticalSectionLocker lock(m_critsect);
 
     {
         wxCriticalSectionLocker lock(m_critsect);
@@ -698,7 +698,7 @@ wxThreadError wxThread::Delete(ExitCode *pRc)
             // WinThreadStart() will see it and terminate immediately
             m_internal->SetState(STATE_EXITED);
 
             // WinThreadStart() will see it and terminate immediately
             m_internal->SetState(STATE_EXITED);
 
-            shouldResume = TRUE;
+            shouldResume = true;
         }
     }
 
         }
     }
 
@@ -712,7 +712,7 @@ wxThreadError wxThread::Delete(ExitCode *pRc)
         if ( IsMain() )
         {
             // set flag for wxIsWaitingForThread()
         if ( IsMain() )
         {
             // set flag for wxIsWaitingForThread()
-            gs_waitingForThread = TRUE;
+            gs_waitingForThread = true;
 
 #if wxUSE_GUI
             wxBeginBusyCursor();
 
 #if wxUSE_GUI
             wxBeginBusyCursor();
@@ -742,7 +742,7 @@ wxThreadError wxThread::Delete(ExitCode *pRc)
 
         if ( IsMain() )
         {
 
         if ( IsMain() )
         {
-            gs_waitingForThread = FALSE;
+            gs_waitingForThread = false;
 
 #if wxUSE_GUI
             wxEndBusyCursor();
 
 #if wxUSE_GUI
             wxEndBusyCursor();
@@ -879,13 +879,13 @@ bool wxThreadModule::OnInit()
     if ( !hasThreadManager )
     {
         wxLogSysError( wxT("Thread Support is not available on this System") );
     if ( !hasThreadManager )
     {
         wxLogSysError( wxT("Thread Support is not available on this System") );
-        return FALSE ;
+        return false ;
     }
 
     // no error return for GetCurrentThreadId()
     MacGetCurrentThread( &gs_idMainThread ) ;
 
     }
 
     // no error return for GetCurrentThreadId()
     MacGetCurrentThread( &gs_idMainThread ) ;
 
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()
 }
 
 void wxThreadModule::OnExit()
index f072b71b4610a803c9583e8c257a7e7c70870894..c820d8d941c496c38a9f7c2149ea985e8c619e58 100644 (file)
     #include "wx/string.h"
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/string.h"
     #include "wx/log.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/mac/corefoundation/cfstring.h"
 
 #endif
 
 #include "wx/mac/corefoundation/cfstring.h"
 
-#include "wx/module.h"
-
 // ============================================================================
 // implementation
 // ============================================================================
 // ============================================================================
 // implementation
 // ============================================================================
index bc64f28457d574e5282038e7dcedd9dc81839280..247d9558de569f09061bb0c55588ac2d04d1522f 100644 (file)
     #include "wx/dialog.h"
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/dialog.h"
     #include "wx/log.h"
     #include "wx/intl.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/evtloop.h"
 #endif
 
 #include "wx/evtloop.h"
-#include "wx/module.h"
 #include "wx/fontutil.h"
 #include "wx/univ/theme.h"
 #include "wx/univ/renderer.h"
 #include "wx/fontutil.h"
 #include "wx/univ/theme.h"
 #include "wx/univ/renderer.h"
index 48e37f2b5981e74e961057908e8450ca99aa3858..c60a9eaf116f6857b8a3e78e6404a7f6d609347a 100644 (file)
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/hashmap.h"
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/hashmap.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include "wx/mgl/private.h"
 
 
 #include "wx/mgl/private.h"
 
 
index 36d60598d75c70b8c5ef6e773477ccb400052f78..6819daf6899c0f03b4f9488fc0ffcc61079d9d60 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
 
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/thread.h"
 #endif
 
 #include "wx/thread.h"
-#include "wx/module.h"
 
 #include <mgraph.hpp>
 
 
 #include <mgraph.hpp>
 
index 01ca9d65b955b5e6392afeb44d335e4ede229151..63fc4576cae4f4e7e8c47ad91262930aafe4377e 100644 (file)
     #include "wx/colour.h"
     #include "wx/font.h"
     #include "wx/gdicmn.h"
     #include "wx/colour.h"
     #include "wx/font.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 // ----------------------------------------------------------------------------
 // global data
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // global data
 // ----------------------------------------------------------------------------
index 8e4db93daa596f1f0285f0784ec84d8e9a76fa22..6358c0387b4e64d130ae69c2f31c9cd953cd9ed5 100644 (file)
@@ -25,9 +25,9 @@
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/memory.h"
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/memory.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/evtloop.h"
 
 #if wxUSE_THREADS
 #include "wx/evtloop.h"
 
 #if wxUSE_THREADS
@@ -35,7 +35,7 @@
 #endif
 
 #ifdef __VMS__
 #endif
 
 #ifdef __VMS__
-#pragma message disable nosimpint
+    #pragma message disable nosimpint
 #endif
 #include <Xm/Xm.h>
 #include <X11/Xlib.h>
 #endif
 #include <Xm/Xm.h>
 #include <X11/Xlib.h>
@@ -43,7 +43,7 @@
 #include <X11/Xresource.h>
 #include <X11/Xatom.h>
 #ifdef __VMS__
 #include <X11/Xresource.h>
 #include <X11/Xatom.h>
 #ifdef __VMS__
-#pragma message enable nosimpint
+    #pragma message enable nosimpint
 #endif
 
 #include "wx/motif/private.h"
 #endif
 
 #include "wx/motif/private.h"
index 03049f43dac67e42757928a60e278aa81a3d23ac..79a49240f10b2502128aaa8d912c4945898f0137 100644 (file)
     #include "wx/event.h"
     #include "wx/app.h"
     #include "wx/window.h"
     #include "wx/event.h"
     #include "wx/app.h"
     #include "wx/window.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #include "wx/evtloop.h"
 
 #ifdef __VMS__
 #endif //WX_PRECOMP
 
 #include "wx/evtloop.h"
 
 #ifdef __VMS__
-#pragma message disable nosimpint
+    #pragma message disable nosimpint
 #endif
 #include <Xm/Xm.h>
 #include <X11/Xlib.h>
 #ifdef __VMS__
 #endif
 #include <Xm/Xm.h>
 #include <X11/Xlib.h>
 #ifdef __VMS__
-#pragma message enable nosimpint
+    #pragma message enable nosimpint
 #endif
 
 #include "wx/unix/private.h"
 #endif
 
 #include "wx/unix/private.h"
@@ -377,8 +378,6 @@ bool wxDoEventLoopIteration( wxEventLoop& evtLoop )
 // also wxEventLoop::Exit is implemented that way, so that exiting an
 // event loop won't require an event being in the queue
 
 // also wxEventLoop::Exit is implemented that way, so that exiting an
 // event loop won't require an event being in the queue
 
-#include "wx/module.h"
-
 #include <sys/types.h>
 #include <sys/time.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/time.h>
 #include <unistd.h>
index d5b4b718541e690c12fbd59d15d741cf065667b7..720aff4a408ade01a8f10b1d302fc588e8a02b1f 100644 (file)
@@ -40,9 +40,9 @@
     #include "wx/scrolwin.h"
     #include "wx/layout.h"
     #include "wx/menuitem.h"
     #include "wx/scrolwin.h"
     #include "wx/layout.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/evtloop.h"
 
 #if  wxUSE_DRAG_AND_DROP
 #include "wx/evtloop.h"
 
 #if  wxUSE_DRAG_AND_DROP
@@ -65,7 +65,7 @@
 // 2) call DoMoveWindow from DoSetSize, allowing controls to override it
 
 #ifdef __VMS__
 // 2) call DoMoveWindow from DoSetSize, allowing controls to override it
 
 #ifdef __VMS__
-#pragma message disable nosimpint
+    #pragma message disable nosimpint
 #endif
 #include <Xm/Xm.h>
 
 #endif
 #include <Xm/Xm.h>
 
@@ -76,7 +76,7 @@
 #include <Xm/Label.h>
 #include <Xm/RowColumn.h>           // for XmMenuPosition
 #ifdef __VMS__
 #include <Xm/Label.h>
 #include <Xm/RowColumn.h>           // for XmMenuPosition
 #ifdef __VMS__
-#pragma message enable nosimpint
+    #pragma message enable nosimpint
 #endif
 
 #include "wx/motif/private.h"
 #endif
 
 #include "wx/motif/private.h"
index 23307d06b1760037ae6ccf3764d9a7a90be5a464..133b9f70b1b7a7bdf66766f8f0440d72455126fe 100644 (file)
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
 #include "wx/filename.h"
 #endif
 
 #include "wx/apptrait.h"
 #include "wx/filename.h"
-#include "wx/module.h"
 #include "wx/dynlib.h"
 #include "wx/evtloop.h"
 
 #include "wx/dynlib.h"
 #include "wx/evtloop.h"
 
index 47a2aca746e60aa5f5b2dc3d289f507083dc5991..9619122ec0b77a5e25bc84cc2631de8bd94340b1 100644 (file)
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/image.h"
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include "wx/msw/private.h"
 #include "wx/msw/missing.h" // IDC_HAND
 
 #include "wx/msw/private.h"
 #include "wx/msw/missing.h" // IDC_HAND
 
index 613cd0205b6d183a98b6f12ad88b85e07af996dc..50e86d027cfad0cfc7c7d31b154c735e93c528e5 100644 (file)
     #include "wx/log.h"
     #include "wx/icon.h"
     #include "wx/dcprint.h"
     #include "wx/log.h"
     #include "wx/icon.h"
     #include "wx/dcprint.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/sysopt.h"
 #endif
 
 #include "wx/sysopt.h"
-#include "wx/module.h"
 #include "wx/dynlib.h"
 
 #ifdef wxHAVE_RAW_BITMAP
 #include "wx/dynlib.h"
 
 #ifdef wxHAVE_RAW_BITMAP
index 547f67b7670c3a20252ffbc5e48322390273978b..a7465a0dccfe43f9ee9f0344e8dc8c5985a9bd4b 100644 (file)
@@ -30,9 +30,9 @@
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/hashmap.h"
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/hashmap.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/dde.h"
 #include "wx/intl.h"
 
 #include "wx/dde.h"
 #include "wx/intl.h"
 
index 5e34902e0c4eb41eebb1b1615faf9edc4805cfe5..76ad747b72e73499433f4adc78378440eda2ed41 100644 (file)
     #include "wx/event.h"
     #include "wx/app.h"
     #include "wx/timer.h"
     #include "wx/event.h"
     #include "wx/app.h"
     #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/generic/choicdgg.h"
 
 #include "wx/dynlib.h"
 #endif
 
 #include "wx/generic/choicdgg.h"
 
 #include "wx/dynlib.h"
-#include "wx/module.h"
 
 DEFINE_EVENT_TYPE(wxEVT_DIALUP_CONNECTED)
 DEFINE_EVENT_TYPE(wxEVT_DIALUP_DISCONNECTED)
 
 DEFINE_EVENT_TYPE(wxEVT_DIALUP_CONNECTED)
 DEFINE_EVENT_TYPE(wxEVT_DIALUP_DISCONNECTED)
index a463d64c6d275af5a5c4a13809b05652f2b5867a..0f4ee4b78b43626c96b7fedc86100bd504ccb05a 100644 (file)
@@ -12,7 +12,7 @@
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_GLCANVAS
 #endif
 
 #if wxUSE_GLCANVAS
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include "wx/msw/private.h"
 
 // DLL options compatibility check:
 #include "wx/msw/private.h"
 
 // DLL options compatibility check:
index e30c64687e3caa725636674384738dc8661cba43..e7fd6460cc3d8e9d0b5670833a974c9b6e6597ec 100644 (file)
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/menuitem.h"
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/ownerdrw.h"
 #include "wx/fontutil.h"
 #endif
 
 #include "wx/ownerdrw.h"
 #include "wx/fontutil.h"
-#include "wx/module.h"
 
 #if wxUSE_OWNER_DRAWN
 
 
 #if wxUSE_OWNER_DRAWN
 
index c15da355e7fd846f32aa3a9f6c910894903cca61..9817d4d7c1e96b813ad0ce9c179ed4b28939535b 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        msw/settings.cpp
+// Name:        src/msw/settings.cpp
 // Purpose:     wxSystemSettingsNative implementation for MSW
 // Author:      Julian Smart
 // Modified by:
 // Purpose:     wxSystemSettingsNative implementation for MSW
 // Author:      Julian Smart
 // Modified by:
@@ -29,6 +29,7 @@
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/gdicmn.h"
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/msw/private.h"
 #endif
 
 #include "wx/msw/private.h"
@@ -37,7 +38,6 @@
 #define SPI_GETFLATMENU                     0x1022
 #endif
 
 #define SPI_GETFLATMENU                     0x1022
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 // for SM_CXCURSOR, SM_CYCURSOR, SM_TABLETPC
 #include "wx/fontutil.h"
 
 // for SM_CXCURSOR, SM_CYCURSOR, SM_TABLETPC
index 5c1fcdeacca07bcc73d241ab1418da89379595ef..c331c3c95fe6fdcb900f1bf6d8237d43f8e10a1d 100644 (file)
@@ -36,9 +36,9 @@
     #include "wx/app.h"
     #include "wx/menu.h"
     #include "wx/math.h"
     #include "wx/app.h"
     #include "wx/menu.h"
     #include "wx/math.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/sysopt.h"
 
 #if wxUSE_CLIPBOARD
 #include "wx/sysopt.h"
 
 #if wxUSE_CLIPBOARD
index 9377f181ab572f3dfbec149ecb772ebfef902d42..462c74137b8c5847780593fc7690118f4e71b0c8 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
 #endif
 
 #include "wx/apptrait.h"
@@ -38,7 +39,6 @@
 #include "wx/msw/seh.h"
 
 #include "wx/except.h"
 #include "wx/msw/seh.h"
 
 #include "wx/except.h"
-#include "wx/module.h"
 
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
 
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
index a4dd69467261b7e997f2de2987981779c615d908..4b1301b55fe577904d4cfcb277636d1395a602b8 100644 (file)
     #include "wx/intl.h"
     #include "wx/frame.h"
     #include "wx/containr.h"        // wxSetFocusToChild()
     #include "wx/intl.h"
     #include "wx/frame.h"
     #include "wx/containr.h"        // wxSetFocusToChild()
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #endif //WX_PRECOMP
 
-#include "wx/module.h"
 #include "wx/dynlib.h"
 
 #include "wx/msw/private.h"
 #if defined(__WXWINCE__) && !defined(__HANDHELDPC__)
 #include "wx/dynlib.h"
 
 #include "wx/msw/private.h"
 #if defined(__WXWINCE__) && !defined(__HANDHELDPC__)
-  #include <ole2.h>
-  #include <shellapi.h>
-  // Standard SDK doesn't have aygshell.dll: see include/wx/msw/wince/libraries.h
-  #if _WIN32_WCE < 400 || !defined(__WINCE_STANDARDSDK__)
-    #include <aygshell.h>
-  #endif
-#include "wx/msw/wince/missing.h"
+    #include <ole2.h>
+    #include <shellapi.h>
+    // Standard SDK doesn't have aygshell.dll: see include/wx/msw/wince/libraries.h
+    #if _WIN32_WCE < 400 || !defined(__WINCE_STANDARDSDK__)
+        #include <aygshell.h>
+    #endif
+    #include "wx/msw/wince/missing.h"
 #endif
 
 #include "wx/msw/missing.h"
 #endif
 
 #include "wx/msw/missing.h"
@@ -1073,13 +1073,13 @@ bool wxTopLevelWindowMSW::SetTransparent(wxByte alpha)
     if ((exstyle & WS_EX_LAYERED) == 0 )
         SetWindowLong(GetHwnd(), GWL_EXSTYLE, exstyle | WS_EX_LAYERED);
 
     if ((exstyle & WS_EX_LAYERED) == 0 )
         SetWindowLong(GetHwnd(), GWL_EXSTYLE, exstyle | WS_EX_LAYERED);
 
-    return pSetLayeredWindowAttributes(GetHwnd(), 0, (BYTE)alpha, LWA_ALPHA) != 0;   
+    return pSetLayeredWindowAttributes(GetHwnd(), 0, (BYTE)alpha, LWA_ALPHA) != 0;
 }
 
 bool wxTopLevelWindowMSW::CanSetTransparent()
 {
     // The API is available on win2k and above
 }
 
 bool wxTopLevelWindowMSW::CanSetTransparent()
 {
     // The API is available on win2k and above
-    
+
     static int os_type = -1;
     static int ver_major = -1;
 
     static int os_type = -1;
     static int ver_major = -1;
 
index 951244b6e4bce9b425b8ac3de5f904e62a441af6..70eb9dfdde3fded36d8dffe18097572b292fa2e1 100644 (file)
@@ -22,6 +22,7 @@
     #include "wx/list.h"
     #include "wx/string.h"
     #include "wx/utils.h"
     #include "wx/list.h"
     #include "wx/string.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #if !wxUSE_PROTOCOL_HTTP
 #endif
 
 #if !wxUSE_PROTOCOL_HTTP
@@ -65,7 +66,6 @@ USE_PROTOCOL(wxHTTPDummyProto)
     #pragma comment(lib, "wininet.lib")
 #endif
 
     #pragma comment(lib, "wininet.lib")
 #endif
 
-#include "wx/module.h"
 #include "wx/url.h"
 
 #include <string.h>
 #include "wx/url.h"
 
 #include <string.h>
index 8df728921e05026034928c9cca4fb1ef836fa6f1..1e7e5d3d0a0f8e801190e2fe63c5f4b45619144e 100644 (file)
     #if wxUSE_STREAMS
         #include "wx/stream.h"
     #endif
     #if wxUSE_STREAMS
         #include "wx/stream.h"
     #endif
+    #include "wx/module.h"
 #endif
 
 #include "wx/process.h"
 
 #include "wx/apptrait.h"
 
 #endif
 
 #include "wx/process.h"
 
 #include "wx/apptrait.h"
 
-#include "wx/module.h"
 
 #include "wx/msw/private.h"
 
 
 #include "wx/msw/private.h"
 
index 4376d2549d62a7e73c4052ceee4c79b80e5b2fec..f850095db28244f5ac935e3a014d2a834ac3a108 100644 (file)
     #include "wx/toplevel.h"
     #include "wx/string.h"
     #include "wx/log.h"
     #include "wx/toplevel.h"
     #include "wx/string.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #endif //WX_PRECOMP
 
-#include "wx/module.h"
-
 #include "wx/msw/uxtheme.h"
 
 // ============================================================================
 #include "wx/msw/uxtheme.h"
 
 // ============================================================================
@@ -176,4 +175,3 @@ bool wxUxThemeEngine::Initialize()
 }
 
 #endif // wxUSE_UXTHEME
 }
 
 #endif // wxUSE_UXTHEME
-
index 4522e1bfc2dc94c007136baa84d31be8be9e5778..eea6424f01ce23ee4e96073300ef7b5e982df1c9 100644 (file)
@@ -48,6 +48,7 @@
     #include "wx/log.h"
     #include "wx/textctrl.h"
     #include "wx/menuitem.h"
     #include "wx/log.h"
     #include "wx/textctrl.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #if wxUSE_OWNER_DRAWN && !defined(__WXUNIVERSAL__)
 #endif
 
 #if wxUSE_OWNER_DRAWN && !defined(__WXUNIVERSAL__)
@@ -55,7 +56,6 @@
 #endif
 
 #include "wx/evtloop.h"
 #endif
 
 #include "wx/evtloop.h"
-#include "wx/module.h"
 #include "wx/power.h"
 #include "wx/sysopt.h"
 
 #include "wx/power.h"
 #include "wx/sysopt.h"
 
index 3453d44396b55528d881094a2826379aef42db7c..65b080d5e955ec2d949e4b14c294dbe4b991d445 100644 (file)
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/stdpaths.h"
 #include "wx/filename.h"
 
 #endif
 
 #include "wx/stdpaths.h"
 #include "wx/filename.h"
 
-#include "wx/module.h"
-
 #include "wx/os2/private.h"
 
 #ifdef __EMX__
 #include "wx/os2/private.h"
 
 #ifdef __EMX__
index 09fe982e4589d67d2ff18aa6d54227179b5548c7..2347161e0e38be1378c0f3e75ebfe47de1c3bdbc 100644 (file)
     #include "wx/msgdlg.h"
     #include "wx/dcprint.h"
     #include "wx/statusbr.h"
     #include "wx/msgdlg.h"
     #include "wx/dcprint.h"
     #include "wx/statusbr.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include <string.h>
 
 #include "wx/os2/private.h"
 #include <string.h>
 
 #include "wx/os2/private.h"
index b07f9e15dae0596f0e8bc54e045ef7c7b3aa9c26..26b80d7459e5df841e1b63a1f4f82b663e5d18a9 100644 (file)
@@ -20,9 +20,9 @@
     #include "wx/gdicmn.h"
     #include "wx/window.h"
     #include "wx/settings.h"
     #include "wx/gdicmn.h"
     #include "wx/window.h"
     #include "wx/settings.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/os2/private.h"
 
 // the module which is used to clean up wxSystemSettings data (this is a
 #include "wx/os2/private.h"
 
 // the module which is used to clean up wxSystemSettings data (this is a
index 3274b8ef573aec00109ec697bafca9e05f901a55..bcdd9e1934bdddd3064ddf3b10972e435182f802 100644 (file)
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #include "wx/apptrait.h"
 #endif //WX_PRECOMP
 
 #include "wx/apptrait.h"
-#include "wx/module.h"
 #include "wx/utils.h"
 
 #include <stdio.h>
 #include "wx/utils.h"
 
 #include <stdio.h>
index 2da126aed0dbe7a55f6f14e8f8966ac3e9255004..94819c9f83a6d1acf61868552477323a45ed972f 100644 (file)
@@ -36,9 +36,9 @@
     #include "wx/control.h"
     #include "wx/containr.h"        // wxSetFocusToChild()
     #include "wx/settings.h"
     #include "wx/control.h"
     #include "wx/containr.h"        // wxSetFocusToChild()
     #include "wx/settings.h"
+    #include "wx/module.h"        // wxSetFocusToChild()
 #endif //WX_PRECOMP
 
 #endif //WX_PRECOMP
 
-#include "wx/module.h"        // wxSetFocusToChild()
 #include "wx/os2/private.h"
 
 // ----------------------------------------------------------------------------
 #include "wx/os2/private.h"
 
 // ----------------------------------------------------------------------------
index cc947d8823871c47b52b1b3da2a4d7dcef58b119..82c5cef7c18e71f46bebe8e5970e6db3bb1429e8 100644 (file)
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/wxchar.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
 #include "wx/filename.h"
 #endif
 
 #include "wx/apptrait.h"
 #include "wx/filename.h"
-#include "wx/module.h"
 #include "wx/dynlib.h"
 
 #if wxUSE_TOOLTIPS
 #include "wx/dynlib.h"
 
 #if wxUSE_TOOLTIPS
index ddec4ac7c6295254edadbbfb0166b5043bb41d85..a51fcc0d0f8e03ad61cffaac48ec4f6b5f2ab7f8 100644 (file)
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/image.h"
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
index fc359b5568af913d2274d60fe4275410c9bfad87..eddc16efc4b5c01f84227d4da56ffd838884b318 100644 (file)
     #include "wx/log.h"
     #include "wx/icon.h"
     #include "wx/dcprint.h"
     #include "wx/log.h"
     #include "wx/icon.h"
     #include "wx/dcprint.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/sysopt.h"
 #endif
 
 #include "wx/sysopt.h"
-#include "wx/module.h"
 #include "wx/dynload.h"
 
 #ifdef wxHAVE_RAW_BITMAP
 #include "wx/dynload.h"
 
 #ifdef wxHAVE_RAW_BITMAP
index 939e416970c56a6b65edce8c2226a350adfb4f5d..261649727f597b85e6c13ab5377296b7f3507805 100644 (file)
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/menuitem.h"
     #include "wx/utils.h"
     #include "wx/settings.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/ownerdrw.h"
 #include "wx/fontutil.h"
 #endif
 
 #include "wx/ownerdrw.h"
 #include "wx/fontutil.h"
-#include "wx/module.h"
 
 #if wxUSE_OWNER_DRAWN
 
 
 #if wxUSE_OWNER_DRAWN
 
index a93fcf006ee20eec5771f05e5eb0b5e07b8aab64..e9d5be3f199f58e4e7844618c556ff5196a5b45d 100644 (file)
@@ -29,9 +29,9 @@
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/gdicmn.h"
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 #include <UIColor.h>
 #include "wx/fontutil.h"
 
 #include <UIColor.h>
index 2710ee6fb4287a607177406873ec03e49454506d..13887eb9f4fc15ff3be27453be053109976af300 100644 (file)
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/menu.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/menu.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #if wxUSE_CLIPBOARD
     #include "wx/clipbrd.h"
 #endif
 #if wxUSE_CLIPBOARD
     #include "wx/clipbrd.h"
 #endif
index 625fb082a38486447c38111bfdb02453e36d01eb..5dbbbdcea1dc295a19a9a64b5e9defc55c7348fe 100644 (file)
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_THREADS
+
+#include "wx/thread.h"
+
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#if wxUSE_THREADS
-
 #include "wx/apptrait.h"
 
 #include "wx/palmos/private.h"
 #include "wx/palmos/missing.h"
 
 #include "wx/apptrait.h"
 
 #include "wx/palmos/private.h"
 #include "wx/palmos/missing.h"
 
-#include "wx/module.h"
-#include "wx/thread.h"
-
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
     #define _MT
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
     #define _MT
@@ -591,4 +591,3 @@ bool WXDLLIMPEXP_BASE wxIsWaitingForThread()
 #include "wx/thrimpl.cpp"
 
 #endif // wxUSE_THREADS
 #include "wx/thrimpl.cpp"
 
 #endif // wxUSE_THREADS
-
index da36ee828ff71cc144f8b10afdcac74c5a24a220..0b1105aafce67e97ddaf1dcd255d2c0e78b56ef7 100644 (file)
@@ -38,9 +38,9 @@
     #include "wx/checkbox.h"
     #include "wx/radiobut.h"
     #include "wx/slider.h"
     #include "wx/checkbox.h"
     #include "wx/radiobut.h"
     #include "wx/slider.h"
+    #include "wx/module.h"
 #endif //WX_PRECOMP
 
 #endif //WX_PRECOMP
 
-#include "wx/module.h"
 #include "wx/display.h"
 
 // controls for sending select event
 #include "wx/display.h"
 
 // controls for sending select event
index 35be0f4752606000b10e91504dfd21b4aec947e9..eaa04a4e6b18ac9f054a3cafc40f47bc0ae55530 100644 (file)
     #if wxUSE_STREAMS
         #include "wx/stream.h"
     #endif
     #if wxUSE_STREAMS
         #include "wx/stream.h"
     #endif
+    #include "wx/module.h"
 #endif
 
 #include "wx/process.h"
 
 #include "wx/apptrait.h"
 
 #endif
 
 #include "wx/process.h"
 
 #include "wx/apptrait.h"
 
-#include "wx/module.h"
-
 #include <ctype.h>
 
 #include <stdio.h>
 #include <ctype.h>
 
 #include <stdio.h>
index 2839a44221c91991e54b17d0c865851e1ea657d9..f2f25a01099c3433e94a3c641fad420f803384e1 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/palmos/windows.cpp
+// Name:        src/palmos/window.cpp
 // Purpose:     wxWindow
 // Author:      William Osborne - minimal working wxPalmOS port
 // Modified by: Wlodzimierz ABX Skiba - more than minimal functionality
 // Purpose:     wxWindow
 // Author:      William Osborne - minimal working wxPalmOS port
 // Modified by: Wlodzimierz ABX Skiba - more than minimal functionality
     #include "wx/log.h"
     #include "wx/textctrl.h"
     #include "wx/menuitem.h"
     #include "wx/log.h"
     #include "wx/textctrl.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #if wxUSE_OWNER_DRAWN && !defined(__WXUNIVERSAL__)
     #include "wx/ownerdrw.h"
 #endif
 
 #endif
 
 #if wxUSE_OWNER_DRAWN && !defined(__WXUNIVERSAL__)
     #include "wx/ownerdrw.h"
 #endif
 
-#include "wx/module.h"
-
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
index ee680385d798f18012f01acc191654b7b57a8308..e350f524cb01fea6dd150cb5097ec28e5b6cedd8 100644 (file)
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/dataobj.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/dataobj.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 #include "wx/mstream.h"
 #include "wx/sstream.h"
 
 #include "wx/mstream.h"
 #include "wx/sstream.h"
 
index 6ecda90988977835ece3e1832f1d5e88062eb7ae..309a110176cc231321ae341de18e45f8d2e96302 100644 (file)
@@ -13,7 +13,7 @@
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_RICHTEXT
 #endif
 
 #if wxUSE_RICHTEXT
 
 #ifndef WX_PRECOMP
     #include "wx/dcclient.h"
 
 #ifndef WX_PRECOMP
     #include "wx/dcclient.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
-#include "wx/module.h"
 
 #include "wx/richtext/richtextctrl.h"
 
 
 #include "wx/richtext/richtextctrl.h"
 
index 869560414fd60a722f6ab6265e38c22adbf0a7c8..b2205170ed64bbe26eaf0104eea49f6345b25ad0 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
 
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
 #include "wx/sstream.h"
 #endif
 
 #include "wx/filename.h"
 #include "wx/clipbrd.h"
 #include "wx/wfstream.h"
 #include "wx/sstream.h"
-#include "wx/module.h"
 #include "wx/txtstrm.h"
 #include "wx/xml/xml.h"
 
 #include "wx/txtstrm.h"
 #include "wx/xml/xml.h"
 
index 93df3b0ced18602095f28df0ef3e5ad5de3ddfd8..c3cc7702e5210201296cbfa2ea5ac39f3ee0546e 100644 (file)
     #include "wx/encinfo.h"
     #include "wx/hash.h"
     #include "wx/utils.h"       // for wxGetDisplay()
     #include "wx/encinfo.h"
     #include "wx/hash.h"
     #include "wx/utils.h"       // for wxGetDisplay()
+    #include "wx/module.h"
 #endif // PCH
 
 #include "wx/fontmap.h"
 #include "wx/tokenzr.h"
 #endif // PCH
 
 #include "wx/fontmap.h"
 #include "wx/tokenzr.h"
-#include "wx/module.h"
 #include "wx/fontenum.h"
 
 #if wxUSE_PANGO
 #include "wx/fontenum.h"
 
 #if wxUSE_PANGO
index 997873bf90f255bfdca04a7995586a2135e5e801..66db2735140da22bd4fbcd049ec688f92e65a737 100644 (file)
@@ -13,7 +13,7 @@
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_SOUND
 #endif
 
 #if wxUSE_SOUND
     #include "wx/event.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/event.h"
     #include "wx/intl.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/thread.h"
 #include "wx/file.h"
 #endif
 
 #include "wx/thread.h"
 #include "wx/file.h"
-#include "wx/module.h"
 #include "wx/sound.h"
 #include "wx/dynlib.h"
 
 #include "wx/sound.h"
 #include "wx/dynlib.h"
 
@@ -640,7 +640,7 @@ bool wxSound::LoadWAV(const wxUint8 *data, size_t length, bool copyData)
     //      28  average bytes per second    |
     //      32  bytes per frame             |
     //      34  bits per sample             |
     //      28  average bytes per second    |
     //      32  bytes per frame             |
     //      34  bits per sample             |
-    //  
+    //
     //      36  "data"
     //      40  number of data bytes
     //      44  (wave signal) data
     //      36  "data"
     //      40  number of data bytes
     //      44  (wave signal) data
index 4858a0f2820580553a5ecaa5747f395dce437ffb..972ebd11e4772417828c6e18017fcd3ce3e54ca7 100644 (file)
@@ -13,7 +13,7 @@
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_SOUND && wxUSE_LIBSDL
 #endif
 
 #if wxUSE_SOUND && wxUSE_LIBSDL
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/thread.h"
 #endif
 
 #include "wx/thread.h"
-#include "wx/module.h"
 #include "wx/sound.h"
 
 // ----------------------------------------------------------------------------
 #include "wx/sound.h"
 
 // ----------------------------------------------------------------------------
index 1104048d4e6d09383331449c3ff80d22b691b63b..60172047a55aa833df234acdeca3bb34ecdea68a 100644 (file)
     #include "wx/utils.h"
     #include "wx/timer.h"
     #include "wx/stopwatch.h"
     #include "wx/utils.h"
     #include "wx/timer.h"
     #include "wx/stopwatch.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 #include <stdio.h>
 #include <unistd.h>
 #include <pthread.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <pthread.h>
index 6afd9e20062b1744a4bfb3ed96e89f72d6a067c9..e5dc6785da67ecc9d0327d685f2683b065cb2016 100644 (file)
@@ -25,9 +25,9 @@
     #include "wx/timer.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
     #include "wx/timer.h"
     #include "wx/memory.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/evtloop.h"
 #include "wx/filename.h"
 
 #include "wx/evtloop.h"
 #include "wx/filename.h"
 
index c7dc8b92762df18a5dd12df433101ba68ab23708..849911fa69ce5e925a3f0b8f52741b9765446fe7 100644 (file)
@@ -20,9 +20,9 @@
     #include "wx/dcmemory.h"
     #include "wx/math.h"
     #include "wx/image.h"
     #include "wx/dcmemory.h"
     #include "wx/math.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 #include "wx/x11/private.h"
 #include "wx/fontutil.h"
 
 #include "wx/x11/private.h"
index 0295cd1559bcdc6ab1cff8e209d43dcb90db59d5..2fbbbb421ce43c0a8751bf24e4a2c63e86d7de18 100644 (file)
     #include "wx/app.h"
     #include "wx/window.h"
     #include "wx/timer.h"
     #include "wx/app.h"
     #include "wx/window.h"
     #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/tooltip.h"
 #endif
 
 #include "wx/tooltip.h"
-#include "wx/module.h"
 #include "wx/unix/private.h"
 #include "wx/x11/private.h"
 #include "X11/Xlib.h"
 #include "wx/unix/private.h"
 #include "wx/x11/private.h"
 #include "X11/Xlib.h"
index 7c5cc615f21c2869ffb4623a8459a3769ec73b1d..d51631aacedbafffb441f43608b49023841b7c51 100644 (file)
@@ -46,9 +46,9 @@
     #include "wx/scrolwin.h"
     #include "wx/layout.h"
     #include "wx/menuitem.h"
     #include "wx/scrolwin.h"
     #include "wx/layout.h"
     #include "wx/menuitem.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 #include "wx/univ/renderer.h"
 
 #include "wx/fontutil.h"
 #include "wx/univ/renderer.h"
 
index 9a55df5861ad75861ae723adcd8d64496aa20068..17ee4098124be76f78ae3e889f0e7c47978ef411 100644 (file)
@@ -28,6 +28,7 @@
     #include "wx/settings.h"
     #include "wx/bitmap.h"
     #include "wx/image.h"
     #include "wx/settings.h"
     #include "wx/bitmap.h"
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
 #ifndef __WXWINCE__
 #endif
 
 #ifndef __WXWINCE__
@@ -39,7 +40,6 @@
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
 #include "wx/fontenum.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
 #include "wx/fontenum.h"
-#include "wx/module.h"
 #include "wx/fontmap.h"
 #include "wx/artprov.h"
 
 #include "wx/fontmap.h"
 #include "wx/artprov.h"