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
Vadim Zeitlin
c0c133e13b
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Vadim Zeitlin
5c33522fca
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:39:52 +00:00
Robert Roebling
2edac25b2e
Compilo after wxVideoMode change, MSW part
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 08:23:58 +00:00
Vadim Zeitlin
d238d403f1
implement support for display enumeration under WinCE (patch 1890936)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 02:45:27 +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
Vadim Zeitlin
d0edb9da60
added more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose wxDynamicLibrary::GetSymbol() calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:43:51 +00:00
Václav Slavík
e0a050e347
more changes to make wx compile without implicit wxString->char* conversion (for STL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
1e93d59553
changed GetFromWindow() to take const pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:13:22 +00:00
Vadim Zeitlin
52778e0049
include wrapwin.h to get HMONITOR and friends declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:45:16 +00:00
Paul Cornett
7212d15556
don't include missing.h before windows headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:37:02 +00:00
Paul Cornett
4e675101a7
use unsigned for display count
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:38:05 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Michael Wetherell
24aab8e81a
Hacks for wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:36:47 +00:00
Włodzimierz Skiba
ad9835c97c
Include wx/dynarray.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:18:39 +00:00
Vadim Zeitlin
b3825734fc
don't compile DirectDraw code when wxUSE_DIRECTDRAW==0 (patch 1461271); set wxUSE_DIRECTDRAW to 0 by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 23:49:34 +00:00
Julian Smart
e557031896
Added missing declarations required for e.g. VC++ 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 17:15:47 +00:00
Vadim Zeitlin
d14e03f5b7
removed unneeded (and provoking warnings in DLL build) DLL export declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:48:09 +00:00
Vadim Zeitlin
6c5d62917d
added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Włodzimierz Skiba
7487919e55
wxDisplay build fix for missing Direct Draw.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 11:06:10 +00:00
Vadim Zeitlin
ef1717a963
wxDisplay cleanup/rewrite:
...
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
single display-only wxDisplay implementation (but 2 versions of Mac
Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +00:00
Vadim Zeitlin
fd921f3560
use wxDynamicLibrary::GetSymbolAorW() instead of duplicating its functionality with macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 20:18:42 +00:00
Włodzimierz Skiba
61373fa8f3
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:21:30 +00:00
Vadim Zeitlin
01c54165d1
don't require multimon.h any more now (patch 1446030); enable wxUSE_DISPLAY by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:49:21 +00:00
Vadim Zeitlin
bcc1153a9e
compilation fix for old SDK headers (such as shipped with VC6)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-17 21:25:05 +00:00
Włodzimierz Skiba
2ad495fb65
wxDisplay support for wxWinCE port.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 14:40:26 +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
Ryan Norton
6fcf77f4c7
comment and 'fix' bug 1145623
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 02:00:12 +00:00
Vadim Zeitlin
8193d58f17
include <windows.h> before <multimon.h>, should fix mingw32 compilation (bug 966947)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:34:36 +00:00
Ryan Norton
d20c3f4181
fixup authorship
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 04:08:36 +00:00
Ryan Norton
24d2b4f5ba
fix for [ 1020924 ] wx.Display.IsPrimary is wrong
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 00:48:37 +00:00
Włodzimierz Skiba
d71cc120e3
Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!NotEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 10:31:41 +00:00
Dimitri Schoolwerth
0b4f47a319
partially applied patch #895170 : "Building with minimal setup.h - continuation"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:14:41 +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
Václav Slavík
f29cfd7775
Mingw compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 20:07:23 +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
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Julian Smart
920b9675d9
Applied patch [ 735304 ] wxDisplay::ChangeMode - does not resize full-screen windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:32:59 +00:00
Vadim Zeitlin
82eba82658
fix wxDisplay initialization (patch 735303)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:57:51 +00:00
Vadim Zeitlin
06efac1f8d
support for optionnally using DirectX for display manipulations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 00:30:18 +00:00
Vadim Zeitlin
8585e2b506
implemented video mode support (getting the current one, enumerating, changing)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:17:20 +00:00
Julian Smart
a536e41102
Applied patch [ 573644 ] wxDisplay for Mac (again)
...
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW
Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00