Commit Graph

6112 Commits

Author SHA1 Message Date
Stefan Csomor
f5ea731f5d concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:41:34 +00:00
David Elliott
2654f7e423 Make DoGetBestSize cache the value of GetSize() the first time it is called
for the case when the control is a regular window with no children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 05:16:38 +00:00
David Elliott
fa8114de44 Added wxObjcAutoRef* classes for automatic retain/release of Objective-C objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 17:43:59 +00:00
David Elliott
c1d19dfb68 wxCocoa: use generic wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 22:42:53 +00:00
Václav Slavík
0c2d809a72 WinCE SDK doesn't have crtdbg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:51:18 +00:00
Julian Smart
c393c74021 Implemented Enable for wxMenuBar to avoid assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:28:13 +00:00
Vadim Zeitlin
51ce89f1bf removed (well, kept empty shell to avoid breaking existing code) InheritAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:54:07 +00:00
Vadim Zeitlin
c4ca49cde3 implemented GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Vadim Zeitlin
e9cafd4289 use wxFULL_REPAINT_ON_RESIZE only for wxPreviewCanvas, not for the entire wxPreviewFrame -- this eliminates flicker of the control bar, at least
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:04:33 +00:00
Stefan Csomor
793921582e added adjustOrigin parameter to bounds calculation, added Freeze and Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:34:18 +00:00
Stefan Csomor
271cad4cf7 added adjustOrigin parameter to bounds calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:32:44 +00:00
Václav Slavík
20f46e8dc8 BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00
Vadim Zeitlin
9f4b46717b no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:19:39 +00:00
Vadim Zeitlin
7a69cd967a use MSWCreateControl() instead of the old mess; implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:15:07 +00:00
Vadim Zeitlin
39c7a53c9b implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:14:42 +00:00
Vadim Zeitlin
553c5bcc3a added wxGetCCDefaultFont() returning the default icon font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:09:48 +00:00
Vadim Zeitlin
34040e3126 default implementation of Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:07:32 +00:00
Vadim Zeitlin
1b69c81574 added Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:05:13 +00:00
Vadim Zeitlin
6046e57acc implemented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:50:59 +00:00
Vadim Zeitlin
b76f0023ae added and documented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:49:54 +00:00
Vadim Zeitlin
e1983ab588 implemented Freeze/Thaw() (patch 922156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 17:10:30 +00:00
Stefan Csomor
2d73b710e1 use base class implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:53:31 +00:00
Julian Smart
b8f19b1d93 Need wxUSE_LIBMSPACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:43:15 +00:00
David Elliott
46d492a879 Do not #undef wxNEED_PRINTF_CONVERSION if wxVsnprintf_ has not been defined
(to an OS implementation).  Instead, check when delcaring the wxSnprintf
and wxVsnprintf wrappers and only define them if wxVsnprintf_ has been defined.

This allows HAVE_VSWPRINTF to be false yet still allow other OS wchar
functions to be used which will be needed to work around FreeBSD/Darwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:50:58 +00:00
David Elliott
dbdf9a176f wxMenuBase changes:
1. GetMenuBar() tries GetParent()->GetMenuBar() first (traverse up hierarchy).
2. IsAttached() returns true if GetMenuBar() returns a menubar.
3. AddSubMenu() does not call Attach() on added submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:49:21 +00:00
Robert Roebling
174b10af34 Applied SetForegorund colour patch for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:07:31 +00:00
Stefan Csomor
01299d5694 added port state save class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:28:08 +00:00
Vadim Zeitlin
d09dd96e31 removed separate wxSYS_ICONTITLE_FONT; made it the same as wxSYS_DEFAULT_GUI_FONT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:11:59 +00:00
Vadim Zeitlin
395a82b13f made wxADJUST_MINSIZE default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 10:18:38 +00:00
Stefan Csomor
8ab505498d added hilite change notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:39:31 +00:00
Julian Smart
8155488b31 Wince fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:12:04 +00:00
Stefan Csomor
5171553c22 expose metal appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:43:37 +00:00
Stefan Csomor
aa4d3151d6 glcanvas fix and toplevel event handler exposed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:47:01 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
David Elliott
cd70b968e7 Removed extraneous m_items (the real one is in wxMenuBase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 04:35:52 +00:00
Stefan Csomor
4f30545658 merge of new wxMac code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 07:15:02 +00:00
Stefan Csomor
34a336adb6 type safe proxy typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:47:41 +00:00
Stefan Csomor
f194560ed8 make things simpler, no default variant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:43:09 +00:00
Stefan Csomor
5d7fe188ad macos native debug levels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:40:58 +00:00
Stefan Csomor
da6a5fe2cf mach-o shared libs support for cw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 05:27:48 +00:00
Stefan Csomor
9ea759d449 dispatch for header files in order to keep old way of includes working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 06:28:38 +00:00
Stefan Csomor
b3c35859d8 workaround for bug in CW MSL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 06:23:28 +00:00
David Elliott
7ce8248bc6 Make wxCocoa work with wxUSE_STL==1:
Use compatibility_iterator instead of Node and Erase instead of DeleteNode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 03:11:51 +00:00
Stefan Csomor
cf6fa9b9ad platform variants for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 19:41:10 +00:00
Stefan Csomor
6b941b35c0 unicode adaption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 19:30:21 +00:00
Julian Smart
7e521b01c3 Added UpdateSize to wxSplitterWindow, to allow an app
to force pane resizing _before_ showing the window.
Added a call to UpdateSize from helpfrm.cpp. Without
this, the flicker is horrible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 13:14:54 +00:00
Václav Slavík
dda36afd4a fixed warnings about unneeded arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 20:12:14 +00:00
Václav Slavík
1e6d9c20fd unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:20:16 +00:00
Stefan Csomor
52479aefae classic/carbon split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:38:49 +00:00
Stefan Csomor
8cf73271dd classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:35:05 +00:00