Commit Graph

6051 Commits

Author SHA1 Message Date
Robin Dunn
9d41f689dc #ifdef update for the old SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 20:06:19 +00:00
Vadim Zeitlin
89654c9a49 GetFilenames() always returned a single file only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:06:53 +00:00
Vadim Zeitlin
97f278b453 finally reverted patch 782947 completely, it is broken; added just a check that id returned by SetTimer() is not a dup instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 14:48:33 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
eccd199223 refactored code to create hidden window in one place only; use it from wxTimer; unregister class used by wxExecute (modified patch 782947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:57:32 +00:00
Mattia Barbon
05e770c40e Use glcanvas.cpp from wxX11 for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 19:25:45 +00:00
Chris Elliott
641a7c45b5 fix digitalmars 64 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:52:37 +00:00
Chris Elliott
e84c7178fe fix watcom 64 bug (openwatcom1.1) (second try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:36:25 +00:00
Chris Elliott
3ca91ffb3d fix watcom 64 bug (openwatcom1.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:33:21 +00:00
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Vadim Zeitlin
bde4baaced more wxMBConv classes cleanup, define wxConvLibc to use Win32 API under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:29:15 +00:00
Vadim Zeitlin
57c5293e49 made Convert() methods const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:15:00 +00:00
Vadim Zeitlin
9769627970 assume sizeof(wchar_t) == 2 by default, not 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 19:25:32 +00:00
Vadim Zeitlin
e95354ec54 added UTF-16/32-[LB]E conversions; got rid of wxCharacterSet and simplified and fixed some bugs in remaining code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 17:11:56 +00:00
Vadim Zeitlin
c0dd4372a3 wxLL is now in wx/defs.h together with (new) wxULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 17:10:30 +00:00
Vadim Zeitlin
84ed77ef28 added (and documented) wxULL(); fixes for wxINT64_SWAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 15:30:25 +00:00
Vadim Zeitlin
8fb3747278 reorganized/improved fixed size int types definitions; in particular use __int64 for wxInt64 if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 13:47:55 +00:00
Vadim Zeitlin
ef620df011 added Win64 detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:43:36 +00:00
Vadim Zeitlin
014c5a64b5 moved wxGA_XXX styles to gauge.h from defs.h; set wxGA_PROGRESSBAR as 0 (it's not used anywhere anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:35:21 +00:00
Vadim Zeitlin
da0f19f8a8 cleanup: derive wxGauge from wxGaugeBase; removed redundant code from Create() (use base class methods instead); implemented MSWGetStyle() and GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:31:58 +00:00
Vadim Zeitlin
9446dc2642 added IsVertical(); initialize members in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:28:25 +00:00
Vadim Zeitlin
311a173bcc removed some TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:14:44 +00:00
Stefan Neis
7332d96bd5 Fixed wxGUIAppTraits declaration on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 06:04:49 +00:00
Vadim Zeitlin
104032545e added wxOwnerDrawn::SetOwnerDrawn() and SetDisabledBitmap(); corrected calculation of menu width and drawing of accels for disabled items (parts of patch 758598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:43:36 +00:00
Stefan Neis
a637417cf7 Added GUI part of AppTraits for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:39:22 +00:00
Vadim Zeitlin
c91830cb4b added conversions to/from UTF 16/32 LE/BE (patch 809685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:12:10 +00:00
Stefan Neis
9fc852b7ff Added AppTraits for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:02:44 +00:00
Stefan Neis
598dc9b777 Switched over to using wxEventLoop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:54:03 +00:00
Stefan Neis
9345ca55cb Added declaration for GetViewRect to fix compilo.
FIXME: Implementation is still missing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:28:40 +00:00
Vadim Zeitlin
f607434a0f check the radio buttons when they get focus (closes 777500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 15:09:13 +00:00
Vadim Zeitlin
2e622163d0 wxHTTP::GetResponse() added (patch 794394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:55:32 +00:00
Vadim Zeitlin
0ae0bb792b fix after patch 802882
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 18:34:57 +00:00
Vadim Zeitlin
ace3ed2ef0 exchanged the base classes order, wxObject must be always first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:34:01 +00:00
Vadim Zeitlin
6f6f938f3a derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:31:06 +00:00
Mattia Barbon
e4ffab299a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 13:34:49 +00:00
Vadim Zeitlin
cb07c54412 (blind) compilation fix after recent KeywordSearch changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 23:53:56 +00:00
Vadim Zeitlin
7411f983f1 wxTextCtrl::GetValue() lost (replaced with question marks) all characters not in the current encoding -- but now it shouldn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:21:48 +00:00
Vadim Zeitlin
8b04d4c451 added wxCSConv ctor taking wxFontEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:18:06 +00:00
Vadim Zeitlin
9806a823b0 attemps to make wxStreamToTextRedirector work with more (broken) compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:17:38 +00:00
Vadim Zeitlin
0bc9347069 include wx/encinfo.h, not wx/fontenc.h, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:15:55 +00:00
Vadim Zeitlin
48f9e8107a extracted wxNativeEncodingInfo in a separate file to be able to include wx/fontenc.h from wx/strcov.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:04:15 +00:00
Mattia Barbon
2fcce89663 Compilation fix for wxUSE_DRAG_AND_DROP==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:44:42 +00:00
Vadim Zeitlin
5a41643a8d linking fix (removed unused virtual methods declarations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 11:55:32 +00:00
Julian Smart
c27be5db0b Added SQLTCHAR for non-Windows platforms, and added missing
wxFputs to wxchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 10:59:14 +00:00
Robin Dunn
4a65f2c80d Added DoDragOver and DoDropText from Angelo Mandato, and ensured that
my unicode LoadFile/SaveFile changes were in the .in file this time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:28:25 +00:00
Vadim Zeitlin
86c8acb774 don't redefine wxUSE_UNICODE if already defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:13:45 +00:00
Julian Smart
8a39593ebe Applied patch [ 808050 ] fixes for WXUNIVERSAL and UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:03:09 +00:00
Julian Smart
f7d4537c2b Added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 12:03:04 +00:00
Václav Slavík
8b0f8432d7 wxMGL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 10:55:44 +00:00
Václav Slavík
752464f9f3 wxMGL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 10:01:59 +00:00
Robin Dunn
88a8b04e9c Updated to Scintilla 1.54
Applied most of patch #806092
Added new wxSTC sample from Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 05:05:52 +00:00
Vadim Zeitlin
1c62463166 moved all event handlers callign code in ProcessEventIfMatches() instead of triplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:35:36 +00:00
Vadim Zeitlin
4300caa7a6 added OnExit(); made event loop exception safe; added wxModalEvtLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:32:32 +00:00
Vadim Zeitlin
883117d126 added HandleEvent() to allow handle exceptions in event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:30:53 +00:00
Vadim Zeitlin
38f1526768 added tied scoped pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 17:27:36 +00:00
Vadim Zeitlin
f0658b1e1e corrected wxCATCH_ALL usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 17:09:23 +00:00
Vadim Zeitlin
5800b5bed6 use wxON_BLOCK_EXIT instead of just ON_BLOCK_EXIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 16:59:40 +00:00
Vadim Zeitlin
2524f1ce36 added some trivial macros for exception handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 12:06:36 +00:00
Vadim Zeitlin
252e57cee2 added wxUSE_STL and wxUSE_XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 10:40:18 +00:00
Vadim Zeitlin
c37dc21c19 added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 10:39:09 +00:00
Mattia Barbon
e6b9830a06 wxX11 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 21:02:22 +00:00
Vadim Zeitlin
6757b5e31c fixed modal dialogs after event loop change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 12:30:34 +00:00
Vadim Zeitlin
fb761cd53c (blind) fix for wxMac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 10:52:57 +00:00
Vadim Zeitlin
f2108ede7c no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:55:17 +00:00
Vadim Zeitlin
ac8d0c118b added wxVALIDATOR_PARAM and use it to avoid warnings about unused validators when wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:54:51 +00:00
Vadim Zeitlin
1bf77ee556 use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Vadim Zeitlin
f8ba082ece added check for wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:14:28 +00:00
Vadim Zeitlin
d83eeece0e added and documented wxDEFINE_SCOPED_PTR_TYPE; improved docs a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 16:10:06 +00:00
David Elliott
cdd0a08f32 Clean up comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 15:22:45 +00:00
Vadim Zeitlin
4199367e9c added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 13:00:34 +00:00
Julian Smart
419430a0c0 WinCE bitmap patch from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 08:55:19 +00:00
Julian Smart
93f467a3b4 Changed version to 2.5.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:39:34 +00:00
Vadim Zeitlin
ef0120c1bb disabled (conditionally) separating static line; improved borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:37:35 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Vadim Zeitlin
5db8d758b8 fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 16:06:27 +00:00
Vadim Zeitlin
11ebea162a added wxListCtrl::GetViewRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 15:58:41 +00:00
Stefan Csomor
e802b32a26 fixed GetFilenames bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 14:02:54 +00:00
Mattia Barbon
18dbdd3c27 wxUniversal STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 12:14:20 +00:00
Stefan Csomor
7323387564 unicode correction for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 09:00:28 +00:00
Robin Dunn
2dbc444a19 Move more stuff into base for wxMac so that two level namespace dylibs
can be used on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Mattia Barbon
7db33cc310 Added, documented and used wxGridCellChoiceEditor
taking wxArrayString.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:11:01 +00:00
Mattia Barbon
3bdb8629f8 No real changes, just refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:05:19 +00:00
Mattia Barbon
d122f8c745 wxX11 STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:01:31 +00:00
Julian Smart
f8252483ec Applied patch [ 803473 ] wxListCtrl header height bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 15:38:38 +00:00
Julian Smart
85b88942cc Applied patch [ 778625 ] wxSVGFileDC and UNICODE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 10:05:32 +00:00
Julian Smart
0e4acbd463 Applied patch [ 794760 ] Majority of "... hides virtual function ..." removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 09:58:31 +00:00
Mattia Barbon
0bd4d463e6 Don't declare copystring if WXWIN_COMPATIBILITY_2_4==0
(like in include/wx/utils.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 20:57:17 +00:00
Vadim Zeitlin
521e585ff1 added LVM_SETUNICODEFORMAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 15:06:44 +00:00
Václav Slavík
506c7b5b69 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 07:55:34 +00:00
Vadim Zeitlin
6a6aa79855 copy milliseconds in Set() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:17:30 +00:00
Václav Slavík
69b5cec2b0 applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 17:29:11 +00:00
Stefan Csomor
f825dcd123 fix for CW non unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:34:15 +00:00
Stefan Csomor
5524d92aaa wxID_PREFERENCES added for the preferences menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:32:35 +00:00
David Elliott
11573ad882 Implement wxSpinButton (except up/down events)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:03:31 +00:00
David Elliott
e0c691d13c Provide target/action mechanism for subclasses to use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:00:45 +00:00
David Elliott
b66e98539f Implement (sort-of) non-client wxWindowDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:42:40 +00:00
David Elliott
514e7b7bf8 Added virtual GetNonClientNSView()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:37:58 +00:00
David Elliott
080c7d56e0 * Added NSWindowStyleForWxStyle static method
* Create(): Handle window styles and initial frame size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:51:38 +00:00
Stefan Csomor
f7476b53e6 setter fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:21:36 +00:00
Stefan Neis
d4ca5c8c7b Insure that messages are posted to the main threads event loop,
instead of sending them to the thread-local event loop
        (which typically does not exist under wxWindows).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 17:50:12 +00:00
David Elliott
1f4e686615 Override CocoaSetEnabled because it's not an NSControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 19:10:22 +00:00
David Elliott
3529fcc96a wxCocoa: CodeWarrior (like GCC) mangles struct X and @class X identically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:36:51 +00:00
David Elliott
3099646e86 wxCocoa: Added NSNotification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:32:21 +00:00
David Elliott
f154ff6018 Implement wxChoice including sorting and client data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 00:33:02 +00:00
David Elliott
363f7de02b Implement wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:40:00 +00:00
David Elliott
faad188707 Override CocoaSetEnabled. NSProgressIndicator is not an NSControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:19:11 +00:00
David Elliott
1981118d4b Works a little better when you remember to say "virtual"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 15:29:17 +00:00
David Elliott
af27ce842e Changed CocoaNotification parameter names to notification from userInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:59:51 +00:00
David Elliott
bcf0148786 Added ability to observe NSMenu notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:50:31 +00:00
David Elliott
605c7e7ed8 * Move m_cocoaNSMenu out of wxCocoaNSMenu and into wxMenu and wxMenuBar
* Comment out wxPoserNSMenu (it's not needed for now, may never be)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:00:53 +00:00
David Elliott
456fef85bb Implement Cocoa_canBecomeMainWindow to say YES to Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:40:52 +00:00
David Elliott
24c7767fc8 * Added GetAppMenuBar
* Removed Show
* Labeled (Attach|Detach)MenuBar as virtual
* Added SetMenuBar
* Implement (Attach|Detach)MenuBar using the wxMenuBarManager


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:39:55 +00:00
David Elliott
33faea0a0d * Added virtual GetAppMenuBar() which returns the app-wide menubar which
would be appropriate for this window, or NULL if the manager should decide
* Added Become/Resign Main handlers
* For all Become/Resign Main/Key handlers, notify the menubar manager


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 21:16:41 +00:00
David Elliott
8fc821cccf * Added delegate notifications for Become/Resign Main
* Added canBecomeMainWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 20:59:30 +00:00
David Elliott
268bec5aee Added wxMenuBarManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 19:19:03 +00:00
Stefan Csomor
8f2b1cfd39 log changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 16:18:07 +00:00
Stefan Csomor
9dabddc292 naming changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:08:25 +00:00
Stefan Csomor
79fdfb3506 added GetBaseClassName1 and 2 for memory.cpp compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 10:02:47 +00:00
Václav Slavík
5d9d22fe08 accept focus, keyboard can be used for navigation (patch 798098)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 20:59:57 +00:00
Mattia Barbon
e21011866e Corrected statements about wxString correctly handling
embedded '\0' characters.
  Fixed various wxString::*find* methods (patch by Robert Vazan),
plus added missing overloaded variants of find_first/last_(not_)of.
Added more tests in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 20:20:21 +00:00
Stefan Neis
48c82007d3 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 22:35:24 +00:00
Stefan Neis
bf341e6e6c Removed duplicate declaration of wxEntry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:44:48 +00:00
Stefan Neis
258836fa25 Updated to current API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:39:52 +00:00
Stefan Neis
3979bf6b1f Updated API to current state of wxWindows (int -> size_t).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:37:00 +00:00
Stefan Neis
51a7e6af00 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:00:00 +00:00
Stefan Neis
0093fe11c5 Cleaned up remains of outdated 3D effect handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:08:49 +00:00
Stefan Neis
9cd036338d Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:41:52 +00:00
Stefan Neis
21323df7fe Fixed return type of GetPageCount (int -> size_t).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:25:53 +00:00
Stefan Neis
621ccd8a82 Fixed AppTraits handling on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:15:10 +00:00
Stefan Csomor
bd7641107a Carbon Event Mouse Moved handler added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 15:33:02 +00:00
Vadim Zeitlin
708c45a6ce return the index of the inserted/appended item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:03:07 +00:00
Stefan Neis
f877815e1b Fixed several bugs in threading code for OS/2. Thread sample now working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:44:14 +00:00
Václav Slavík
3caa34b771 removed caching from wxInternetFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 22:54:45 +00:00
Mattia Barbon
d8771ac734 Fixed bug introduced in fs_zip.cpp when replacing wxHashTableLong
with wxHashMap.
  Made wxHashMap constructor explicit to prevent similar errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 20:10:32 +00:00
Stefan Csomor
584e607406 added WX_IMPLEMENT_PROPERTY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 19:07:58 +00:00
David Elliott
aa992c594e Rename some of the Cocoa methods to reflect that they are implemented
by the NSWindow delegate.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:59:04 +00:00
David Elliott
78c67cb642 Use a delegate instead of manually adding notifications. Not only is this
less code, but a delegate will be required for future functionality.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:10:23 +00:00
Vadim Zeitlin
1fa29bdc25 implemented IsModified() and DiscardEdits()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:11:09 +00:00
David Elliott
2fc2d511d0 Send all menu item actions to a dedicated target. This is to ensure
the actions always make it to the proper wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 17:49:51 +00:00
David Elliott
1d2412f77b CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 16:34:26 +00:00
Václav Slavík
56572188ee wxCheckList -> wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 09:36:54 +00:00
Stefan Csomor
ffca575c83 WX_EVENT_PROPERTY instead of WX_DELEGATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Csomor
4177a99c30 added range of types for delegate type info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:02:51 +00:00
Stefan Csomor
25474dcade changed getters for enum to const, GetEventClass to the delegate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 08:10:02 +00:00
David Elliott
5aa417d57c Send activate/deactivate events for become/resign key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:30:10 +00:00
David Elliott
720e01c312 Added a notification observer for NSWindow. Observe the become key and
resign key notifications. (window activation in wxWindows parlance)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:28:35 +00:00
Stefan Csomor
c681bd248f unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 01:12:29 +00:00
Julian Smart
0e7ac69ea9 Compile extended RTTI in BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:44:06 +00:00
Stefan Csomor
583150e369 linkage and unicode corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:29:55 +00:00
Stefan Csomor
6c7a1f8274 RTTI accessors for menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:26:49 +00:00
Václav Slavík
80b2db4ee6 added IMPLEMENT_APP_CONSOLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 20:48:47 +00:00
Václav Slavík
1b23f6f700 there's no such thing as <typeinfo.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 15:41:25 +00:00
Julian Smart
385facb748 Made CCS_VERT definition more general
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:20:26 +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
Julian Smart
9ce43bfae9 Fixes for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:10:25 +00:00
Julian Smart
1d6d8f1717 Added some missing settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 13:02:20 +00:00
Stefan Csomor
df3a88afd7 generic template must not carry linkage clause
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 07:34:58 +00:00
Stefan Csomor
492f9a9e9b switching type info to registration base and lazy lookup (multi-lib-linkage problems with old approach)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 23:36:46 +00:00
Stefan Neis
e484468721 Fixed #pragma interface/implementation handling for old compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 16:38:02 +00:00
Stefan Neis
a1541f5f05 Use wxIconLocation instead of wxIcon (as in the other ports).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 15:56:19 +00:00
Václav Slavík
79902653c8 fixed wrong WXDLLEXPORT usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 15:43:58 +00:00
Stefan Csomor
91c9dbdc97 linkage corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 15:41:05 +00:00
Stefan Csomor
1c263d5667 linkage corrections, destructors added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 15:22:07 +00:00
Stefan Neis
f0f044dcbe Compilation fixes for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 14:08:44 +00:00
Václav Slavík
1b5ff3a3fe fix gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 13:27:56 +00:00
Václav Slavík
ab0881c71c fixed gcc warnings and reformatted some pieces of code to be a bit readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 12:55:22 +00:00
Stefan Csomor
2abce5157d gcc /vc6 workarounds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 12:22:08 +00:00
Stefan Neis
fe5321b6d8 Removed superfluous conditional include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 09:56:16 +00:00
Stefan Csomor
0886e25499 flags extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 22:37:11 +00:00
Václav Slavík
0a20646948 Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 21:01:58 +00:00
Stefan Csomor
9c8046dded redistribution of code for different library parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 19:40:04 +00:00
Václav Slavík
0bdb08e7ef builtin iODBC build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 12:45:34 +00:00
Robin Dunn
8030d60631 Added #if wxUSE_CMDLINE_PARSER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 02:38:34 +00:00
Stefan Csomor
ae820c693a xti additions / changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 00:37:55 +00:00
Stefan Csomor
b192f49963 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 00:36:26 +00:00
Mattia Barbon
ba8a4f660a Fix building wxSTC as a DLL using MinGW GCC 3.x.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 21:24:09 +00:00
Julian Smart
16d0c403fa Removed erroneous return statements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 10:52:01 +00:00
Julian Smart
4ef29fb558 Added wxUSE_EXTENDED_RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 10:25:32 +00:00
Vadim Zeitlin
5b5e4f325c added checks for wxUSE_LISTBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 23:11:54 +00:00
Vadim Zeitlin
ade4eb65af added wxBookCtrlSizer; derive wxNotebookSizer from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 23:09:35 +00:00
Vadim Zeitlin
e9c0df38e7 added wxListbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 23:06:36 +00:00
Vadim Zeitlin
ea4ff2ad5a corrected wxUSE_BOOKCTRL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 20:45:49 +00:00
Stefan Csomor
4f8ffae109 metadata support for metadata
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 20:27:46 +00:00
Vadim Zeitlin
8d34bf5cc9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:54:31 +00:00
Mattia Barbon
789d0a3dd9 wxGTK compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:44:52 +00:00
Mattia Barbon
64b090c72a Compilation fixes for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:38:26 +00:00
Stefan Csomor
986a98c6e9 added support for allocation-creation method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:27:11 +00:00
Vadim Zeitlin
15aad3b938 created wxBookCtrl which will be tje base class for wxNotebook and wxListbook; moved almost all of wxNotebookBase code into it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 22:57:07 +00:00
Vadim Zeitlin
87f086bcbd added missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 22:51:21 +00:00
Stefan Neis
bd3b171d3f Split src/os2/utils.cpp in two to support non-monolithic builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 18:53:31 +00:00
Stefan Neis
283ed244ad Compilation fixes for gcc-3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 17:02:09 +00:00
Mattia Barbon
8ae94823a3 Keep order of nodes when wxHashMap is resized; this ensures
that wxHashTable has the same behaviour when wxUSE_STL=1 as
when wxUSE_STL=0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 16:59:17 +00:00
Václav Slavík
dd4b14de7e more Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 09:01:57 +00:00
Václav Slavík
54385bdb3f Unicode compilation fixes for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 08:39:47 +00:00
Mattia Barbon
760d3c7cd3 Fixes for wxHashTable when wxUSE_STL=1:
wxHashTable must work like an hash_multimap, not an hash_map.
wxHashTable::Delete is supposed to actually delete entries
more tests in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 21:17:04 +00:00
Stefan Csomor
12a5e73be6 changing wxxVariant signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 19:44:15 +00:00
Julian Smart
d56cc7b1bc Correcting typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 19:27:52 +00:00
Stefan Csomor
c44a270570 removing rtti special functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:28:34 +00:00
Stefan Csomor
a06bb527dd RTTI extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:48:06 +00:00
David Elliott
c5172ed1bf Override CocoaSetEnabled() to call -[NSControl setEnabled:]
Do NOT forget to override this in subclasses which use a Cocoa view
not derived from NSControl.  Crashes will result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:49:28 +00:00
David Elliott
761bdfaaa9 Override CocoaSetEnabled() to do nothing. Although static lines are
controls in the wxWindows sense, they are not in the Cocoa sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:47:24 +00:00
David Elliott
adb4816c3e Added machinery to Enable/Disable windows. When a window is disabled, it
disables all of its children.  Every window maintains a bool indicating
whether it should be enabled (i.e. Enable() was called on it directly).
When a window is reenabled, it reenables children, but only if they are
actually supposed to be enabled. Override CocoaSetEnabled() in subclasses
to actually enable/disable a Cocoa control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:45:54 +00:00
Julian Smart
5751dd32c7 Fix to remove CW/Mac warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 12:37:36 +00:00
David Elliott
d0a5e34a08 * Implement GetValue() and SetValue().
* Send event when clicked.
* Implement radio button grouping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 18:27:48 +00:00
Stefan Csomor
1978421a6d rtti api mods added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:57:02 +00:00
Stefan Csomor
208fd16ca7 refactoring getters and setters to avoid signature madness, typeinfo is carrying string conversion info now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:53:09 +00:00
Mattia Barbon
3f2c383971 Correctly export events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:30:45 +00:00
David Elliott
03fc8e9795 wxCocoa: Added NSMutableArray and NSTableColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:19:12 +00:00
David Elliott
bcaadf7eae some more wxListBox support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:14:53 +00:00
David Elliott
2e024d8690 Added NSTableView support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:12:42 +00:00
Stefan Neis
d1bab56647 Completely reworked OS/2 thread implementation.
Moved wxConditionInternal from src/msw/thread.cpp to include/wx/thrimpl.cpp
        to give OS/2 the possibility to reuse the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 23:32:00 +00:00
David Elliott
e08efb8dd9 Handle setting of client size for all types of windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 23:23:26 +00:00
Stefan Csomor
43cfe46c31 added WXK_COMMAND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 21:14:28 +00:00
Mattia Barbon
469349b5c8 Check for NULL base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:53:51 +00:00
Stefan Csomor
768dc88a34 textcontrol handling change for mac (execute event in mid stream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:47:00 +00:00
Václav Slavík
a3bf7524f3 removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Václav Slavík
f75d778149 restored wxBuildOptions class, for backward compatibility with wx-2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 11:14:18 +00:00
Václav Slavík
0e0d594d1a removed unused wxObject::Dump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:34:45 +00:00
Václav Slavík
6eabf58cec have TryValidator even if wxUSE_VALIDATORS=1, so that wxBase library can be used by GUI ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:33:25 +00:00
Václav Slavík
e1a4f817b0 check for WXWIN_COMPATIBLITY settings, they affect binary compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:30:46 +00:00
Václav Slavík
bf26b5e1de don't change WXWIN_COMPATIBLITY settings, it affects binary compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:30:15 +00:00
Julian Smart
8a82c9ecc9 Moved wxToolBarSimple to deprecated library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:20:08 +00:00
Václav Slavík
ac9a3c615a moved WinMain into the application even for static build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 15:30:25 +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
Julian Smart
12bdd77c85 Can now switch between PostScript and WIN32 print dialogs
by setting the value of wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW.
Added first part of Peter Lenhard's WinCE DrawEllipticArc
implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 10:17:14 +00:00
Vadim Zeitlin
bb0a3c4aff compilation fix for the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 23:00:33 +00:00
Vadim Zeitlin
d566b182a5 warning fixes for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 21:08:41 +00:00
David Elliott
cf774b6767 Stub for wxRegion::Offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 20:56:21 +00:00
David Elliott
448cbf1d4e Implemented toolbar/statusbar positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 20:34:07 +00:00
David Elliott
816c52cf7c Implemented window scrolling using wxWindowCocoaScroller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 19:47:28 +00:00
David Elliott
d25aa543ae wxCocoa: Added NSScrollView definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 19:45:46 +00:00
Stefan Csomor
75890a3f39 xti macro fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:51:07 +00:00
Václav Slavík
d5b12ad9a7 wxBase compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:20:51 +00:00
Stefan Csomor
8acd402fb0 notebook page information objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:06:49 +00:00
Stefan Csomor
16a45a23d9 properties as collection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:03:06 +00:00
Stefan Csomor
fae7d15809 min and max setters added (xti)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 17:59:34 +00:00
Julian Smart
eb2693818c No significant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:04:54 +00:00
Chris Elliott
dd54f5d305 move define to better place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:00:38 +00:00
Julian Smart
7de1e98d39 Removed some cruft
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 10:55:22 +00:00
Chris Elliott
50165591a5 fix bugs when compiling with dmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 10:01:49 +00:00
Václav Slavík
b79a499394 DMC doesn't have w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 09:17:45 +00:00
Chris Elliott
3e22fb88f5 dmars does not have w32api.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 08:50:10 +00:00
Chris Elliott
01fd88a0e6 remove no longer treu comment about dmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 08:46:33 +00:00
Vadim Zeitlin
7b4d7f99a6 added wxRecursionGuard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 00:09:36 +00:00
Mattia Barbon
f96b10c283 Refactoring: no real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:34:21 +00:00
Mattia Barbon
4410d619c5 wxMotif STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:28:56 +00:00
Robin Dunn
5d2e69e8c0 Clear --> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:05:39 +00:00
David Elliott
d139c3a84b Added helper functions for setting initial window size:
* inline MakeDefaultNSRect makes an NSRect with position (10.0,10.0) and
  size based on the size passed to Create run through (Width|Height)Default
  This NSRect is to be used with the initWithFrame: initializer.
* SetInitialFrameRect is called after the window has been added to its parent
  and (if applicable) sized to fit.  If -1 is specified for a dimension then
  the fit/default size is kept.  If not, the window is sized to the specified
  size. It will be positioned in wxWindows coordinates (0,0==TL).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:37:45 +00:00
Stefan Csomor
6056c7c6f3 collection macro also for XTI_TEMPLATE_FIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 17:56:14 +00:00
Stefan Csomor
ab6e491366 collection support for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:59:46 +00:00
Stefan Csomor
8143581bdc make this along the vc 7.1 exception as beforestd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:57:47 +00:00
Vadim Zeitlin
596f1d1160 renamed wxWindow::Clear() to ClearBackground() for wxGTK as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:47:43 +00:00
David Elliott
b93d8cc460 Don't send idle events while an assertion dialog is showing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 15:25:34 +00:00
Vadim Zeitlin
5da0803c15 renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Vadim Zeitlin
4f6e963caf suppress warnings about not being able to inline a function under BC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 10:09:09 +00:00
Mattia Barbon
8142d70447 Added wxHashSet, with minimal tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 16:45:09 +00:00
David Elliott
a82b814137 Laid groundwork for scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 02:58:04 +00:00
Mattia Barbon
72eef31646 Expose GetCount when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:48:07 +00:00
Julian Smart
e28c2d151b wxCaretSuspender only shows the caret if it was visible previously
Improved caret handling in wxTextCtrl
Restored scrollbar painting in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:33:56 +00:00
David Elliott
f07c570112 Replaced id with winid so it doesn't conflict with the Objective-C type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 15:14:37 +00:00
David Elliott
2d6c4e485c Added default implementation for drawRect and mouse events that returns
false so normal processing will take place.  Some users of wxCocoaNSView
may not wish to implement every event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 13:47:50 +00:00
Stefan Csomor
2d51f067b9 added wxDynamicObject (kind of delegate, docs to come once this has calmed down)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 10:01:02 +00:00
Vadim Zeitlin
04857cb707 added version checking to the renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 15:51:30 +00:00
Václav Slavík
f48eebbc62 check if we are using compatible C++ ABI when usin GCC or IntelC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 20:23:25 +00:00
Václav Slavík
1202890513 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Stefan Csomor
31478355f8 define WX_XTI_TEMPLATE_FIX in case it is not yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:33:40 +00:00
Stefan Csomor
438edbc0bd added flag for broken compilers with regard to templated getters/setters resolution, so that we can test easily whether it's still needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:19:00 +00:00
Stefan Csomor
10da6a8fa4 exposing the dynamic event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:17:07 +00:00
Robin Dunn
0c8392cac2 Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
wxHtmlListBox classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 21:23:33 +00:00
Stefan Csomor
aa8d7c2f9b xti expansions, streaming code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 20:35:19 +00:00
Julian Smart
47cd661014 Call base OnInternalIdle
Use wxUniv textctrl implementation in wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 19:39:16 +00:00
David Elliott
ab13160e71 * When cloning the ref data, copy the NSBitmapImageRep instead of retaining it
* Added SetNSBitmapImageRep so that wxMemoryDC can update the contents by
  replacing the entire NSBitmapImageRep.
* Added ability to create bitmaps from width/height


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 14:49:53 +00:00
Václav Slavík
f46f68d9f1 blind fix for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 20:59:18 +00:00
Václav Slavík
38bb138f09 fixed wxBase and GUI separation for sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Vadim Zeitlin
8fcf6e3258 fixed HasButtons()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 23:03:01 +00:00
Vadim Zeitlin
9f2be12593 added Load() and Set() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 18:14:44 +00:00
Václav Slavík
cafc76a4bb deprecated Initialize/CleanUpClasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 12:10:30 +00:00
Václav Slavík
d1d738f18c initialize wxClassInfo::sm_classTable automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 10:44:48 +00:00
David Elliott
14fc7eb426 Don't install idle event handler in secondary threads.
I've not seen this happen yet, but it can, and I'm taking this precaution.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 03:42:25 +00:00
David Elliott
c818fe6634 wxCocoa: Added NSThread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 03:40:11 +00:00
Stefan Csomor
f0b7eadf88 added more specializations for bcc32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 21:25:58 +00:00
Stefan Csomor
57de237383 xti change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 19:20:51 +00:00
Mattia Barbon
1ce0cc20cd Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:52:35 +00:00
Mattia Barbon
82c75aeab8 Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:41:14 +00:00
Stefan Csomor
8ec1974ea1 xti streaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:24:02 +00:00
Stefan Csomor
fa08490f10 xti streaming cleanup, type extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 16:50:30 +00:00
Václav Slavík
160ba750f2 compilation fixes for win32 dll+multilib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 16:16:49 +00:00
George Tasker
f157ad0815 Incorrect placement of the '*' in the line "const wxChar* WXDLLIMPEXP_ODBC". It should be "const wxChar WXDLLIMPEXP_ODBC *"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 18:56:58 +00:00
Vadim Zeitlin
1bf49fb99a don't include MDI headers if !wxUSE_MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 16:44:05 +00:00
Vadim Zeitlin
169948a05f added Unload(handle); updated the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 14:05:00 +00:00
Václav Slavík
2a7c760593 reworked wxBuildOptions code to work even w/o function inlining
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:17:17 +00:00
Václav Slavík
517fb87124 no tabs please\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 08:39:41 +00:00
David Elliott
1f631557e0 Added dash support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 06:16:15 +00:00
David Elliott
8e51701313 wxPen implementation (no dash support yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 03:10:23 +00:00
Vadim Zeitlin
b832916db7 PRINTING is not dependent on DOCVIEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:30:54 +00:00
Vadim Zeitlin
00466512a8 use wrapwin.h instead of windows.h + winundef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:30:35 +00:00
Vadim Zeitlin
b1e88286a2 just tidied up the comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:12:00 +00:00
Vadim Zeitlin
1b8865e92c don't draw buttons unless we have wxTR_HAS_BUTTONS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:04:37 +00:00
Vadim Zeitlin
77bf4cefcd initialize the image list size in default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 22:53:55 +00:00
Vadim Zeitlin
22c316d6ef WXWIN_COMPATIBILITY_2_2 should be 0 by default now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 22:44:16 +00:00
Vadim Zeitlin
b913d3ed6e moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 21:00:52 +00:00
Vadim Zeitlin
61fef19b85 warnings (and some errors) fixes for wxUniv DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:58:56 +00:00
Vadim Zeitlin
05e3a383e0 moved some more stuff from .cpp files to here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:56:30 +00:00
Vadim Zeitlin
ed0769cdab removed _WIN_IE from here, we normally shouldn't need it as it was moved to wrapcctl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:56:08 +00:00
Václav Slavík
83b9886f17 added wxDbGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:26:51 +00:00
Mattia Barbon
aeec2045cf Warning fixes (still does not compile).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:14:09 +00:00
Mattia Barbon
b96f9d1928 Use Unix display for Motif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:12:57 +00:00
Mattia Barbon
185448a864 Fix some wrong code: add parentheses to correct precedence,
fix comment and _WIN32_IE value (author was probably thinking about
_WIN32_WINNT. Now CVS compiles again with MinGW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:09:41 +00:00
Vadim Zeitlin
4b9d8a9c22 missing or wrong DLLEXPORTs for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:03:59 +00:00
Václav Slavík
3d1f191965 reverted two last changes; they both broke compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 19:30:30 +00:00
Václav Slavík
61d457caae compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 17:14:39 +00:00
Vadim Zeitlin
0d236fd0fa added wrapper for <commctrl.h> as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 10:57:51 +00:00
Václav Slavík
fd68cfdbfb added WX_DECLARE_OBJARRAY_WITH_DECL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 10:42:22 +00:00
Vadim Zeitlin
13e51f3a55 removed extra commas which are erros for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 22:42:52 +00:00
Václav Slavík
bb41dcbe3a moved DB classes into wxODBC library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 19:14:54 +00:00
Václav Slavík
190869b2f5 compilation fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 16:27:21 +00:00
Václav Slavík
c31c4e162e compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 16:21:52 +00:00
Václav Slavík
03aa88aba7 wxUSE_NEW_GRID is no longer used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 16:16:33 +00:00
Václav Slavík
45c1de352d renamed to WX_DECLARE_LIST_WITH_DECL for consistency if wxUSE_STL=0, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:54:07 +00:00
Václav Slavík
f794be6afe renamed to WX_DECLARE_LIST_WITH_DECL for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:46:44 +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
131f235d04 moved wxWave, wxJoystick and wxTaskBarIcon to wxAdvanced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 13:52:31 +00:00
Václav Slavík
85f582bda7 wxJoystick and wxWave are now available in all Unix ports, the code was not GTK specific
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 13:50:49 +00:00
Václav Slavík
b3062afd70 compilation fix for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 10:47:58 +00:00
Václav Slavík
12f190b09c created wxAdvanced library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 01:04:55 +00:00
Vadim Zeitlin
435bc10c9c disable printing; doesn't compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 00:13:31 +00:00
Vadim Zeitlin
a7bc03c94b use wxWindowBase, not wxWindow, in wxUpdateUIEvent::CanUpdate() (wxUniv compilation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 00:12:39 +00:00
Vadim Zeitlin
a80e5f9e5b wxTheApp can't be assigned to, anyhow, so make ms_appInstance private and provide Get/SetInstance() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:37:40 +00:00
Vadim Zeitlin
4104ed92a5 added and documented wxDYNLIB_FUNCTION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:36:26 +00:00
Vadim Zeitlin
7cafd224fe replaced the old wxApp with wxAppConsole::ms_appInstance of type wxAppConsole; wxTheApp is now a macro for backwards compatibility (this fixes problems with contradictorary wxTheApp definitions in separate build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:00:16 +00:00
Vadim Zeitlin
07e9078279 check for comctl32.dll version in wxUxThemeEngine::Initialize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 22:04:46 +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
Václav Slavík
7f79974420 XML code needs wchar_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 17:10:45 +00:00
Václav Slavík
076fdb2182 preparation for runtime loading of plugins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 16:35:57 +00:00
Julian Smart
3255bce320 Only draw borders if wxSP_3DBORDER specified, as before
Added IsAppThemedEx which _really_ tells you if the app is
themed, and used it in wxRendererNative::GetDefault()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 14:12:55 +00:00
Vadim Zeitlin
2c0e6de189 added missing arguments in wxDelegateRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:49:33 +00:00
Vadim Zeitlin
af99040c70 1. added flags to splitter drawing functions and replaced
GetSplitterBorderAndSash() with GetSplitterParams()
2. added support for "hot tracking" to wxSplitterWindow
3. added GTK2 support for the splitter to GTK renderer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:38:43 +00:00
Stefan Csomor
dadaeb6978 Added wxASSERT_MSGs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 17:53:15 +00:00
Julian Smart
c02e5a31c5 Removed some warnings in widgets sample
Reduced some flicker in wxNotebook when using
XP controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 13:59:28 +00:00
Julian Smart
a9d3371aec Added back the copy ctor and assignment warning suppression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 11:31:39 +00:00
Václav Slavík
9c7f75734a new wxUSE_xxx variables must be in chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:13:03 +00:00
Václav Slavík
85b657c79d compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:12:33 +00:00
Václav Slavík
e8e1149bd7 make it possible to use wxConsoleApp in GUI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:11:28 +00:00
Vadim Zeitlin
ca5ccd7eeb added wxUxThemeHandle class for opening/closing theme handles easily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 00:59:37 +00:00
Vadim Zeitlin
2d9c0e97c5 [start of] cleanup uxtheme support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 22:31:20 +00:00
Vadim Zeitlin
27d0dcd033 added wxVListBox::OnDrawBackground(); fixed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 21:36:38 +00:00
Stefan Csomor
5c0217af06 workaround CW bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 17:57:37 +00:00
Stefan Csomor
4393b50ccd fixing xti problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 17:55:53 +00:00
Julian Smart
c6151f2a94 Added wxPaintDCEx class, to handle the case where an HDC
is passed with WM_PAINT. Apps that want to can have their
own HDC painted on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 14:27:18 +00:00
David Elliott
b9505233a5 Keep track of the captured mouse window so the base GUI code thinks the window
is captured.  Doesn't capture it, but at least satisfies the assertions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:20:51 +00:00
Stefan Csomor
70e881039b metadata streaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:44:57 +00:00
Stefan Csomor
fbbdc52c5d xti updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:16:51 +00:00
Stefan Csomor
38759b6794 Added Setter for Position (consistency)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:15:59 +00:00
David Elliott
aa3d027735 wxCocoa: Include new platform-specific headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:09:47 +00:00
David Elliott
977ea6b6bf Added wxClipboard and wxDataObject (and friends) declarations and stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:07:26 +00:00
Vadim Zeitlin
f0244295e3 added wxAppTraits::CreateRenderer() which may be used to customize the renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Stefan Csomor
06305c29bd xti introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:39:37 +00:00
Stefan Csomor
6d553b5fd0 wxUSE_EXTENDED_RTTI as name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:39:12 +00:00
Václav Slavík
0ca4ab85b7 ported wxSVG contrib to bakefile (patch #778614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:33:29 +00:00
Stefan Csomor
a095505c96 xti introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:10:54 +00:00
Stefan Csomor
9a069b7279 even more defines for rerouting the xti information to the correct members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:05:34 +00:00
Vadim Zeitlin
93fa67c0e6 GetPath() now has wxPATH_GET_COLUME by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:53:23 +00:00
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
Václav Slavík
c0421c9993 added *_WITH_DECL macros so that it is possible to export hashes from
DLLs other than wxCore


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:35:02 +00:00
Václav Slavík
1412634be8 compilation fix for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 10:53:44 +00:00
Vadim Zeitlin
62dc9cb4f1 added orient parameter to DrawSplitterSash instead of using wxMirrorDC in the splitter (it is now used in generic renderer only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 02:00:55 +00:00
Robin Dunn
408ac1b8cf MOre fixes for DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-26 00:18:57 +00:00
Robin Dunn
7ba1412f19 Fixes to allow STC to be built as a DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 21:24:49 +00:00
David Elliott
c16471b6e8 Fixed operator[] recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 13:56:29 +00:00
Mattia Barbon
90b6b97467 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 20:06:02 +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
Mattia Barbon
728c62b66d Fixed wrong wxList<T>::compatibility_iterator::GetPrevious.
Added operator== and != for compatibility_iterator.
  Removed deprecation warning of wxStringList: until wxPathList
is changed not to use wxStringList, having the warning is just
annoying.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:33:59 +00:00
Mattia Barbon
684d26bb27 Removed (wrong) wxHashTable::compatibility_iterator::GetPrevious
implementation: hash table iterators are forward-only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:29:42 +00:00
Stefan Csomor
02ac8d7a5d expat define MACOS_CLASSIC added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:44:41 +00:00
Julian Smart
b38b0d22d7 Fixed preview navigation as per ancient bug report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:07:43 +00:00
Julian Smart
d2b354f9c9 Printing improvements: GetPageInfo() gets called after the DC has
been set and after OnPreparePrinting() has been called so it can
report the number of pages accurately; doesn't try to set
number of pages in print dialog, in common with other Windows apps;
wxHTML easy printing's preview shows number of pages
correctly; preview scrollbars are set correctly; keyboard navigation
improved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 20:30:19 +00:00
Mattia Barbon
3d16b99ece Remove single-argument constructor of wxHashMap::value_type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:26:32 +00:00
Mattia Barbon
d8274c928e Fixed memory leaks when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:06:14 +00:00
Mattia Barbon
7df07b10aa various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +00:00
Václav Slavík
90d26317f7 wxUSE_XML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 17:13:20 +00:00
Vadim Zeitlin
52c14774b3 restore some of the styles; added support for splitters without border/sash to generic renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 22:12:32 +00:00
Vadim Zeitlin
4749467786 more warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 21:50:05 +00:00
David Elliott
2c23fe91e3 wxCocoa: Added preliminary Blit support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 17:40:52 +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
Chris Elliott
aa3d520a74 borland does not like ; at end of macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 09:01:02 +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
Robin Dunn
d99859e492 Patch #775355 Unicode fix for STC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:00:16 +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
cd989b24ae suppress warning about not being able to generate copy ctor/operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:16:57 +00:00
Vadim Zeitlin
4a8cd0189f must derive from wxDC, not wxDCBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:13:34 +00:00
Vadim Zeitlin
cfbef359d6 added default parameters to wxBrush/wxPen ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:13:15 +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
28f3fe51bd wxCocoa: Preliminary wxMemoryDC implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:55:50 +00:00
Vadim Zeitlin
5b36366c59 gave default parameters for wxBrush() ctor from wxColour (this is what is used in 99 of cases...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:41:48 +00:00
Mattia Barbon
a381fd1c0a Compilation fixes for wxUSE_STL=1 and for
WXWIN_COMPATIBILITY_2_4=0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:55:46 +00:00
Vadim Zeitlin
4f53523161 gave default parameters for wxPen() ctor from wxColour (this is what is used in 99 of cases...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:39:34 +00:00
Vadim Zeitlin
8f20ea0391 added wxMirrorDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:15:17 +00:00
David Elliott
aeb500e64c Don't depend on wx/dcmemory.h to include wx/dcclient.h for wxPaintDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 18:57:04 +00:00
David Elliott
fe8f794343 Implemented wxDC stack with focus locking and unlocking
Implemented wxClientDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 17:06:02 +00:00
Vadim Zeitlin
c89d41600b only define operator bool() if operator long() is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 13:03:33 +00:00
Vadim Zeitlin
6f12c2c955 load any files, not only XPMs, in wxIcon(wxIconLocation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 12:21:22 +00:00
Mattia Barbon
b5435dccd0 Compilaton fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 10:01:56 +00:00
Vadim Zeitlin
11d395f9d7 icon location may contain , so added GetIcon() overload taking MessageParameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 01:13:18 +00:00
David Elliott
d135b1a5f7 wxCocoa: Added preliminary wxBitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:27:32 +00:00
David Elliott
a4d592ff8d wxCursorRefData inherits from wxObjectRefData instead of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:07:58 +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
Julian Smart
12617ca53c Added a resource for Smartphone menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:59:09 +00:00
Václav Slavík
a90d7e684a moved XML classes to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:12:55 +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
07f20d9a63 added sizers support; allow resizeable wizards (Robert Vazan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:48:52 +00:00
Václav Slavík
e066bd132d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:39:35 +00:00
Vadim Zeitlin
5b087ae258 added wxSize::IncTo/DecTo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:04:22 +00:00
Mattia Barbon
b5f6b52ab3 Compilation fix for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:32:44 +00:00
Mattia Barbon
a9711a4deb Compilation fixes for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:27:14 +00:00
Vadim Zeitlin
4dc5502753 fixed suppressing of wxFontMapper questions which was broken by GUI/base separation changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:40:24 +00:00
Vadim Zeitlin
38c4cb6aa7 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:29:21 +00:00
Vadim Zeitlin
9c7f49f569 added wxRendererNative to be used by the generic controls for rendering platfomr-specific parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:52:26 +00:00
Vadim Zeitlin
2d75caaa6d fixes for deprecated warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:01:00 +00:00
Vadim Zeitlin
f888d61444 made wx[Array]TreeItemId[s] more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 23:12:33 +00:00
Mattia Barbon
69b9f4cca4 wxUSE_STL=1 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:42:12 +00:00
Mattia Barbon
1807c27dbc Don't #include Motif headers from src/x11/glcanvas.cpp.
prepare for using src/x11/glcanvas.cpp for wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:07:15 +00:00
Mattia Barbon
9b51403d37 Remove commented-out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:04:23 +00:00
Mattia Barbon
2da2f941bb Fix wx[Sorted]ArrayString::Index when wxUSE_STL=1, because
it is different than wxArray::Index (second argument is for
case sensitivity, not search direction).
  Use forward declaration for wx[Sorted]ArrayString, where
possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:01:14 +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
Vadim Zeitlin
b92203a8be moved smart phone test to chkconf.h from features.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:11:47 +00:00
Vadim Zeitlin
ee4b272189 replaced untyped hash with a typed one; 64 bit fixes (don't cast pointers to long...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:06:59 +00:00
Vadim Zeitlin
46674ada08 reduced compilation dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:01:58 +00:00
Vadim Zeitlin
137b730319 compatibiltiy functions should be inline, we don't want to take space hit for using them nor speed hit for the user code!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:56:46 +00:00
Vadim Zeitlin
6de4403884 define a special PTR version of LIST macros which should be used if you want operator->()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:52:00 +00:00
Vadim Zeitlin
6108e3fd32 added NO_PTR versions of ARRAY macros to suppress warnings (based on patch 770983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:46:29 +00:00
Vadim Zeitlin
282e8e0c10 don't disable warnings for VC7, not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:16:15 +00:00
Vadim Zeitlin
e3a6a6b2bc added Show/HideNativeCaret() (patch 759924)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:01:27 +00:00
Julian Smart
449110cd74 Added minimal file dialog for SmartPhone
Use wxSYSTEM_MENU to get X symbol on PocketPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:46:33 +00:00
Vadim Zeitlin
f74172ab42 extracted common code into a single wxfileDialogBase class (patch 758901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +00:00
Vadim Zeitlin
f363e05c6d added GetForbiddenChars() and TRUE -> true (patch 757777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:06:29 +00:00
Mattia Barbon
4c3ebca927 Fix some compilation and linking errors in samples.
Replace some calls to wxString::getWriteBuffer with
wxStringBuffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:05:08 +00:00
Mattia Barbon
fe5fc682a2 Fix wxStringBuffer for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:31:59 +00:00
Mattia Barbon
941b78cc1d Added wxStringBufferLength: works like wxStringBuffer, except
it calls UngetWriteBuffer(size_t) instead of UngetWriteBuffer().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:08:47 +00:00
Mattia Barbon
e589896152 MSVC 5 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:47:19 +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
Julian Smart
39d2f9a7c8 Added WCE toolbar
Got menubars working with WCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 14:12:53 +00:00
Robin Dunn
e14d10b039 Update to Scintilla 1.53
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 06:43:31 +00:00
Vadim Zeitlin
1648d51bcb allow to change the event propagation level (modified patch 743086)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:39:05 +00:00
Vadim Zeitlin
b5a98acdf2 applied event speed up patch (752928)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:59:49 +00:00
Vadim Zeitlin
520200fd10 added format parameter to File/DirName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:39:28 +00:00
Mattia Barbon
f700f98cf5 Use correct types for comparison functions in wxArray,
wxSortedArray and wxSortedArrayString, when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:23:43 +00:00
Vadim Zeitlin
bf07249cdd don't clear the handles list in dtor, it is static/global (patch 773029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:03:28 +00:00