Commit Graph

41303 Commits

Author SHA1 Message Date
Paul Cornett
260020e392 various small cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 17:24:44 +00:00
David Elliott
f513aa78ee Instantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 16:43:30 +00:00
Kevin Ollivier
39796bac00 Adding prototype script for creating a wx Mac framework from a configure-based wxPython build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 15:41:48 +00:00
Vadim Zeitlin
db51a209d7 fix compilation due to wxCmdLineEntryDesc changes once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 14:37:12 +00:00
Robert Roebling
a9a56347b8 Always rearrange wxListBook and send out size event, otherwise scrollbar overlaps icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 13:37:52 +00:00
Robert Roebling
7d61c83f40 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 13:34:20 +00:00
Robert Roebling
cc681534ed Don't compile with < GTK 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:56:51 +00:00
Robert Roebling
00ff24c81c Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:17:12 +00:00
Vadim Zeitlin
16a6b53ddc rename wxFileList to wxFileListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:01:00 +00:00
Vadim Zeitlin
d0007107fc reverted accidental change to this file as part of rev 48732
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:52:56 +00:00
Julian Smart
f5dc1b7e49 Removed restriction that multiple centre panes can't be resized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:28:28 +00:00
Julian Smart
b78b6e887e Added omitted variable copy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:26:08 +00:00
Julian Smart
cec713c729 Removed "not yet working" comment for --enable-universal_binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:24:42 +00:00
Vadim Zeitlin
8e4b5265cd declare wxVector<wxXmlResourceHandler *> as DLL-exported to avoid VC++ warnings in shared build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:40:10 +00:00
Vadim Zeitlin
9056c785dd don't abbreviate 'control' to 'ctrl' (patch 1780280)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:32:57 +00:00
Vadim Zeitlin
3df485fd5b define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined symbols in preprocessor conditions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:25:50 +00:00
Vadim Zeitlin
985acf8734 reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:22:05 +00:00
Vadim Zeitlin
0cf3e587a2 added new and improved wxFileCtrl implementation (patch 1763164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Vadim Zeitlin
b4a11fe85c don't access m_clientDataItemsType directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:12:13 +00:00
Vadim Zeitlin
efb35bebfa compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:53:16 +00:00
Vadim Zeitlin
a268f4b734 don't use NULL when we mean 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:40:08 +00:00
Vadim Zeitlin
868302f326 fix warnings due to use of WXDLLEXPORT on forward declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:27:06 +00:00
Vadim Zeitlin
131b1fba9d fix access to client data of wxComboBox in wxUniv by virtualizing access to wxControlWithItems::m_clientDataItemsType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:12:27 +00:00
Vadim Zeitlin
c4fd5ede54 include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 18:53:37 +00:00
Chris Elliott
1cffe60012 fix for VC6 sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:51:52 +00:00
Chris Elliott
9c9b12747f fix for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:47:03 +00:00
Chris Elliott
8d5aff92f4 remove refernce to removed samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:29:30 +00:00
Vadim Zeitlin
22b6de6a70 more fixes for using wxSocket in console applications (patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 14:29:42 +00:00
Vadim Zeitlin
7ed0328efd expand the table cells to fill the entire table width (patch 1722794)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Vadim Zeitlin
dbfa728a07 fix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:04:26 +00:00
Vadim Zeitlin
1fc5dc69fd destroy the old clipping region before setting the new one (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:57:01 +00:00
Vadim Zeitlin
99b4164c2c removed apparent off by 1 bug in the end line calculation in ShowPosition() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:55:35 +00:00
Vadim Zeitlin
86909f4c89 added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:50:01 +00:00
Vadim Zeitlin
ebc9b89d52 use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:24:45 +00:00
Vadim Zeitlin
6dd25d20be check whether clipping region is empty, not whether it's null; disable USE_PAINT_REGION which seems to be more harmful than useful (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:52:02 +00:00
Vadim Zeitlin
ca86035f16 fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:43:03 +00:00
Vadim Zeitlin
86a41088fd fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:35:18 +00:00
Vadim Zeitlin
f527e69e7c corrected m_strings array creation broken by last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:30:00 +00:00
Robert Roebling
7cec1c9e15 Implement wxWindow::SetFocusIgnoringChildren for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:06:22 +00:00
Vadim Zeitlin
c2e4537233 wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 21:23:19 +00:00
Robert Roebling
edddffb58b Correct GetLabelItemRect to not include image (as per 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 11:05:38 +00:00
Robert Roebling
9e86e5ca64 Remove redundant test later in keypress handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:31:38 +00:00
Robert Roebling
03a126c68c Only send keypress events to focus widget, not its parents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:29:26 +00:00
Paul Cornett
63c95f2734 let GtkRange clamp scroll position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 02:58:14 +00:00
Vadim Zeitlin
20a0e99964 get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 01:09:01 +00:00
Vadim Zeitlin
0dd13d21cd always NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input length, even if the input is not NUL-terminated (part of patch 1795174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:36:16 +00:00
Vadim Zeitlin
a7b9ab6200 fix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug 1792727, part of patch 1795174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:32:54 +00:00
Vadim Zeitlin
49297c840b use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:18:56 +00:00
Vadim Zeitlin
cde9695427 always return positive pixel size, even for negative LOGFONT height values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:17:58 +00:00
Vadim Zeitlin
d16d0917e4 fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:16:58 +00:00