Vadim Zeitlin
d98a58c543
Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.
...
This change prepares the way for using wxGTK under Windows as this would
still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__.
Closes #14064 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:29:31 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Stefan Csomor
9f5717add3
cleaning up common OSX code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:51:06 +00:00
Vadim Zeitlin
e2fc2bd51c
add wxDL_QUIET flag; use RawGetSymbol() instead of GetSymbol() in wxDL_INIT_FUNC to avoid error messages for missing functions (this is also consistent with wxDL_INIT_FUNC_AW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 01:30:58 +00:00
Stefan Csomor
3a39a9da98
removing non darwin mac source
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 16:15:54 +00:00
Václav Slavík
00711afdd6
return wxString from wxDynamicLibrary::GetDllExt()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:29:07 +00:00
Stefan Neis
1f3d991197
OS/2 specific compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:10:03 +00:00
Vadim Zeitlin
449090b54d
added static wxPlatformInfo::Get() and use it (patch 1549176)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:58:56 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Włodzimierz Skiba
de6185e212
Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
670f993563
Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
e4db172a3b
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Vadim Zeitlin
306608eb3c
use wxCHECK instead of wxASSERT in CanonicalizePluginName() to avoid crashing in console apps (coverity checker CID 13)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:55:23 +00:00
Vadim Zeitlin
6c28639791
just added a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 16:11:58 +00:00
Włodzimierz Skiba
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Vadim Zeitlin
4115960d4b
remove extraneous semicolons (patch 1299687)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 20:29:22 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
David Webster
18ed8e0032
Unicode fixes for OS/2 (all inside #ifdef __WXPM__ blocks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 01:17:45 +00:00
Robin Dunn
86a6ecff59
Fixed duplicate symbol link error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:47:10 +00:00
Vadim Zeitlin
6d94009faa
implemented GetProgramHandle() for Win32 and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 20:56:00 +00:00
Włodzimierz Skiba
b494c48b31
.empty() string cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 19:37:36 +00:00
Stefan Neis
e9737edeee
Compilation fixes for OS/2 (OS/2 still defines __UNIX__ :-( ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 21:28:37 +00:00
Vadim Zeitlin
da55d0644f
extracted Unix code in a separate new file (src/unix/dlunix.cpp), it remains only to refactor Mac/OS2 versions to finally fix the mess in common/dnylib.cpp...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 22:21:44 +00:00
Vadim Zeitlin
defbed48e7
1. extracted MSW-specific part of wxDynamicLibrary in msw/dlmsw.cpp
...
2. added and documented wxDynamicLibrary::ListLoaded()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 20:50:06 +00:00
Vadim Zeitlin
48a611cf00
don't abort if a shared library can't be loaded under OS X, just return an error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 13:53:37 +00:00
Vadim Zeitlin
3640d0da6b
fix Mac/Unicode build after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:26:24 +00:00
Vadim Zeitlin
a018a119bd
added wxDynamicLibrary::HasSymbol()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:20:51 +00:00
Vadim Zeitlin
42a2452301
- wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
...
- wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:45:20 +00:00
Włodzimierz Skiba
68379eaf0a
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 12:56:07 +00:00
Stefan Csomor
fb44fc34e8
removed use of p2cstr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 07:15:28 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
5fccb5b4fd
include wx/msw/wrapwin.h instead of entire private.h; unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:54 +00:00
Václav Slavík
cb979facf3
use x.y.z version in unstable branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:54:39 +00:00
Gilles Depeyrot
87ec9b8f6f
corrected SF bug #809314 : wxDynamicLibrary::ms_dllext definition for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 17:35:56 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Julian Smart
ffcb4ee424
WinCE fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:15:20 +00:00
Stefan Csomor
f73bc315aa
unicode wxMac CW fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:00:28 +00:00
Stefan Csomor
5f3f0f1725
unicode for mac fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 16:46:23 +00:00
Gilles Depeyrot
609533d54d
applied fixes for CodeWarrior compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 11:58:06 +00:00
Václav Slavík
2c02ec0599
include compiler name in plugin DLL name on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 17:21:02 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
9d033af92e
no changes, just resolved a conflict
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 16:09:12 +00:00
David Elliott
ff793cab3a
Implement new static Unload(handle) instead of old Unload()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 15:46:51 +00:00
Václav Slavík
3546ffaefd
fixed version number expansion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:13:21 +00:00
Vadim Zeitlin
350fffae72
minor changes to eliminate unused parameter warning + some cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 22:47:40 +00:00
Václav Slavík
324899f6c5
return wxToolkitInfo by reference and not by pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:39:26 +00:00
Václav Slavík
a8eaaeb237
replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Václav Slavík
0a2f5c7bc5
quick compilation fix for wxBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 13:20:29 +00:00
Václav Slavík
1948bb3274
removed duplicated code from dynlib.h and dynload.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 21:12:40 +00:00