Commit Graph

22103 Commits

Author SHA1 Message Date
Robin Dunn
3cebfef17b Typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:52:16 +00:00
Robin Dunn
9d3734c899 Forward declare wxPyScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:52:07 +00:00
Robin Dunn
6113655014 fixed GetFirstChild/GetNextChild to make a copy of the wxTreeItemId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:51:36 +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
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
7fa23c09cd Regenerated ReST docs, removed the config setting that outputs the
generated date so these will change less often.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:15:45 +00:00
Robin Dunn
9896cf5ef7 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:14:04 +00:00
Robin Dunn
45e07d7a23 Generate pywrap as a console tool.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:10:15 +00:00
Patrick K. O'Brien
f98cf46e85 Oops. Put @echo off line back in. Only needed to change pythonw.exe to python.exe.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 20:59:29 +00:00
Patrick K. O'Brien
ab1bfcc1a1 Made more useable from the command-line, since that is its primary purpose.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 20:54:26 +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
ed5f4c7849 if basePath is empty use '.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 15:54:00 +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
Vadim Zeitlin
5d7e2c447a added a howto for adding a new encoding to wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 12:02:41 +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
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
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
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
Václav Slavík
4827cbd923 added wxFileSystem test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 20:44:26 +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
Robin Dunn
1cb4a8aabe reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 18:10:11 +00:00
Robin Dunn
3c8ad70ad4 typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 18:05:58 +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