Commit Graph

22223 Commits

Author SHA1 Message Date
Robin Dunn
8470ed1a3a Better conversion functions for integral and floating point types,
allows truncated floats to be used where integers are expeceted,
raises more meaningful exceptions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:50:53 +00:00
Robin Dunn
94eaeb1b02 remove 'point' arg from kwargs if it was replaced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:17:17 +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
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
ef3f71c3d8 More installation instruction tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:42:18 +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
12d57fd596 reexported and changed linefeeds to unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:09:49 +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
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
Vadim Zeitlin
aa10ccc2e2 use -lcma for a build with threads under HP-UX using native compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:38:10 +00:00
Vadim Zeitlin
acaffac9f0 define _INCLUDE__STDC_A1_SOURCE for HP-UX, it is apparently needed to get mbtowcs() &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:28:00 +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
Julian Smart
4d805cc069 Removed redundant lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 10:26:17 +00:00
Julian Smart
61d6643fb5 Added Ryan Wilcox's creator type setting script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 08:11:16 +00:00
Robin Dunn
a248262879 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 02:18:51 +00:00
Robin Dunn
823f0cfe61 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 02:18:00 +00:00
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