Commit Graph

15354 Commits

Author SHA1 Message Date
Robert Roebling
76a6e80383 Applied patch for Intel compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 15:43:19 +00:00
Stefan Csomor
587bc95090 different approaches implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 13:26:45 +00:00
Stefan Csomor
b05bf6eec7 refresh on move changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 13:23:56 +00:00
Stefan Csomor
bcbd69875f reverting drawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 08:19:01 +00:00
Vadim Zeitlin
31d7fc0f9c set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:47:44 +00:00
Vadim Zeitlin
42497f30eb don't inherit font from the parent by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:16:45 +00:00
Vadim Zeitlin
d284c07534 call wxApp::OnExceptionInMainLoop() when an exception occurs (refactored the change 1.16->1.17)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:52:19 +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
Stefan Csomor
413844c2d4 fixing auto wrap and default font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 18:29:00 +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
83ce56341b databrowser notification trigger events now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:57:49 +00:00
Julian Smart
0f0fd26d13 Fix for missing __CHAR_BIT__ under MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:38:19 +00:00
Julian Smart
9bd2d050ef Compile fixes for 10.2 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:26:18 +00:00
Stefan Csomor
a9825a9ba2 since we are not getting the kEventDraw messages for everything we handle UserPanes via a proper draw proc and only dispatch the kEventDraw for the native OS controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:43:06 +00:00
Stefan Csomor
2c25bd5570 mixed height and width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 12:55:21 +00:00
Stefan Csomor
904810184b commented that redraw workaround as it was causing more harm than benefit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 12:44:42 +00:00
David Elliott
6edf110703 GetMenuBar() now traverses up the hierarchy so it no longer has to be done here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:56:09 +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
David Elliott
4224f05975 Instead of m_menuBar use GetMenuBar() which will be modified (with next patch)
to traverse up the menu hierarchy to return the menu bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:43:16 +00:00
Robin Dunn
9efe0302c3 Check that the file successfully loaded, use the length read for the conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 20:01:16 +00:00
Stefan Csomor
c2697b8719 attempt to work around SDK specific problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 19:04:41 +00:00
Václav Slavík
5fc01d1326 applied patch 923858 (fixes crash in zlib streams)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:46:00 +00:00
Stefan Csomor
eb69d46e70 BestSize is ok for built-ins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:34:33 +00:00
Stefan Csomor
3515fc87c9 another attempt to export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:17:45 +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
Robert Roebling
963907fa8f Applied patches.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:02:59 +00:00
Stefan Csomor
3a72b6a474 added tlw include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 16:23:34 +00:00
Stefan Csomor
982a831bbf best size calculations based on bitmap size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 16:06:54 +00:00
Robin Dunn
c3eeb758b7 Use "&Help" so wxMac doesn't make an extra help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 15:52:47 +00:00
Stefan Csomor
1e8cde71c0 Update Region is not always correct, we use the visible region therefore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 14:56:22 +00:00
Stefan Csomor
aa57eeea83 UMADrawControl is not to be used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 14:54:50 +00:00
Stefan Csomor
785f5eaa05 Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 14:49:20 +00:00
Stefan Csomor
769ac86930 SetSize with all -1 was returning too soon in some cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 12:46:41 +00:00
Stefan Csomor
957165f103 fixed multiline wrap-around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 12:12:15 +00:00
Stefan Csomor
73fe67bd60 cleanup in toplevel activation, and switching to native carbon event notification for window visibility etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:35:04 +00:00
Stefan Csomor
f009156727 started for unicode text control, in case we will not be able to get the MLTE EchoMode working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:33:16 +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
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
Stefan Csomor
230c574313 added new notifications to be added, corrected DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 07:43:20 +00:00
Stefan Csomor
0966d1fe26 support metal appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:51:29 +00:00
Stefan Csomor
41218df153 correct include for OSX only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:51:16 +00:00
Stefan Csomor
6aab345b9d expose metal appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:49:37 +00:00
Stefan Csomor
b1d7de5ae0 fix for get best size when having empty labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 19:44:50 +00:00
Stefan Csomor
03c4c72be6 added native alignement support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 19:42:18 +00:00
Stefan Csomor
f6809556cf Clear does nothing if we have a non valid brush (ie wxNullBrush)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 19:26:21 +00:00
Stefan Csomor
4b5386874a background drawing uncommented again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:57:03 +00:00
Stefan Csomor
bd3169a752 added first bare bones implementation for PositionToXY and friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:52:10 +00:00
Stefan Csomor
949cb163a7 toplevel event handler exposed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:50:04 +00:00
Václav Slavík
f8ae31dcc5 reverted previous commit, it broke URLs parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 15:58:00 +00:00