Václav Slavík
7c4728f633
split wxBase into wxBase and wxNet libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:41:06 +00:00
Mattia Barbon
e87b783352
Create a new wxStringBase class, providing a STL-like API, using
...
the current wxString implementation.
Derive wxString from one of wxStringBase, std::string, std::wstring
depending on wxUSE_STL/wxUSE_UNICODE settings. wxString provides
full compatibility with the old wxString in both wxUSE_STL=0 and
wxUSE_STL=1 modes (except for [Un]getWriteBuffer).
Add some configure checks for std::string features.
Add tests for STL API in console sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:44:57 +00:00
David Elliott
69f2115d33
Added NSImage definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 13:02:13 +00:00
Václav Slavík
a6cbc4db3d
compilation fixes for Vadim's changes and Borland C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 11:13:50 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
b3208e1158
virtualized splitter drawing; removed/deprecated some styles and moved others from wx/defs.h; eliminated flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:12:17 +00:00
David Elliott
c10ec9f5b2
Added NSBitmapImageRep
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:05:16 +00:00
Václav Slavík
27b0c28644
moved XML classes to the core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 21:37:03 +00:00
Vadim Zeitlin
d33f1a1a9a
warning 4284 doesn't have to be suppressed any more for VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:22:41 +00:00
Julian Smart
bf95a04f16
Added some standard further identifiers to help with WinCE toolbars
...
Moved wxID_REPLACE to defs.h
Can now add tools to WinCE toolbar, if using standard identifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 16:16:14 +00:00
Václav Slavík
ff64116225
previous commit removed WXDLLIMPEXP_HTML by mistake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:26:31 +00:00
Václav Slavík
eac90854bd
compilation fixes for msw_gl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:31:33 +00:00
Julian Smart
f07dc2e2a7
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:04:34 +00:00
Vadim Zeitlin
f9dae7798b
added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:53:00 +00:00
Julian Smart
5048c832bb
Applied patch [ 758687 ] RegisterHotkey implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:16:00 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
44383ef7c6
got rid of (unused since a long time) wxNO_3D and wxUSER_COLOURS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:23:54 +00:00
Vadim Zeitlin
9bf41e06ca
added wxMAKE_UNIQUE_NAME to wx/defs.h, use it in wx/debug.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:32 +00:00
Václav Slavík
a7140600c9
removed WXUSINGDLL_FOO, one WXUSINGDLL is enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 17:11:57 +00:00
Václav Slavík
42bf837cea
fix monodll build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 22:50:06 +00:00
Václav Slavík
6acba9a719
fixes for moving wxHTML files into their own DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:04:05 +00:00
Václav Slavík
3d97f1823a
reverted previous change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:01:44 +00:00
Václav Slavík
3d41c70801
don't required all WXMAKINGDLL_FOO defines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:59:14 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Vadim Zeitlin
70dc287a39
removed wxFunction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
a6ab05be98
added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:39:51 +00:00
David Elliott
d9b4ddf28f
Added NSColor declarataion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:27:13 +00:00
David Elliott
6444e22daa
Restored Objective-C typesafety while retaining proper C++ name mangling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 03:25:42 +00:00
Julian Smart
85b43fbf7a
Attempt to make wxWindows play better with XP themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +00:00
Chris Elliott
76c718091a
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 14:05:03 +00:00
Chris Elliott
0b3f29b359
fix for digitalmars header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:19:20 +00:00
Robin Dunn
6a7e641161
Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
...
<e_lub@yahoo.com> wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Chris Elliott
4ce1efe123
update to make digitalmars compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 18:15:17 +00:00
David Webster
b823f462a1
OS/2 updates for lowercase bool values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 21:04:36 +00:00
David Elliott
b67d3706d9
Added NSEvent class for wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 03:48:54 +00:00
David Elliott
7875262d29
DECLARE_WXCOCOA_OBJC_CLASS now declares types as struct objc_object* so that
...
they are exactly the same type for C++ and Objective-C++ code. This allows
them to be used as arguments to functions, especially virtuals, because
the C++ name mangling will be the same.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 04:17:37 +00:00
David Elliott
82de126c11
Added declarations for NSLayoutManager, NSTextContainer, and NSTextStorage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:06:24 +00:00
Julian Smart
083f7497d3
Applied some of patch [ 688466 ] MSVC7 build & bug fixes
...
by Darren Whobrey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:10:37 +00:00
David Elliott
43225e09fe
Various changes for wxCocoa
...
- Check for __WXCOCOA__ as an acceptable definition for a GUI
- Where __WXMAC__ is used to mean "running on a mac" check for
one of __WXMAC__ or __WXCOCOA__
- Add the obligatory __WXCOCOA__ definitions section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 17:09:18 +00:00
Mattia Barbon
521196a26a
Added configure test for const_cast<>(), and enabled it
...
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Mattia Barbon
da494b405d
Added new __WXMOTIF20__ macro, which is true if the Motif version
...
is 2.0 or higher.
Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
Miscellaneous cleanup; used wxXmString in some more places.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Vadim Zeitlin
702c420889
added WXK_WINDOWS_XXX key constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:51:41 +00:00
Václav Slavík
850c6ed46e
wxCLOSE->wxCLOSE_BOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:13:26 +00:00
Václav Slavík
f1a19f1478
added wxCLOSE and unified wxDEFAULT_DIALOG_STYLE definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:47 +00:00
Stefan Csomor
0f5cc041d2
additional mac alias types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:56:17 +00:00
Stefan Csomor
6357cb9d09
added WXEVENTHANDLERREF for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:49:45 +00:00
Mattia Barbon
d66dcb6022
Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
...
Do not #define __WIN95__, __WINDOWS__, __WXMSW__ on the command line for
Cygwin/MinGW (when build with makefiles), since platform.h already does
that for us.
Always check for __WIN32__, not for WIN32 or _WIN32 (just for
consistency).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:01:20 +00:00
Vadim Zeitlin
90b1d65f2f
define true/false if the compiler doesn't have them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 22:29:59 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00