Commit Graph

34543 Commits

Author SHA1 Message Date
Robin Dunn
6eed24bf78 Don't use custom bg style except on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:39:31 +00:00
Robin Dunn
9718662d67 Picker control updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:37:13 +00:00
Robin Dunn
cf952100f3 Changed call order of the PreCreate method, and pass the pre instance
to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:36:24 +00:00
Robin Dunn
3ad84671d3 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:35:33 +00:00
Robin Dunn
48e71d8ad7 New SetModified method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:33:14 +00:00
Robin Dunn
c6e49b914c New wxNB_HITTEST_ONPAGE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:31:36 +00:00
Robin Dunn
cbb4b39d97 Added missing platform constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:47 +00:00
Robin Dunn
a43dbe7260 Remove use of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:12 +00:00
Robin Dunn
16182b7b52 Put wxHIDE_READONLY back for compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:29:27 +00:00
Robin Dunn
2305710499 wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:02:59 +00:00
Robin Dunn
49b6ebb7e1 Put back the old wxTreeEvent ctor for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 21:21:36 +00:00
Kevin Ollivier
2d837688be Fixed incorrect get page source check around SetPageSource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 20:53:37 +00:00
Robin Dunn
3c3b35589a wxPickerBase derives from wxControl, not wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 19:19:31 +00:00
Robin Dunn
690c6e8eef fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 19:16:11 +00:00
Vadim Zeitlin
2388d9b331 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 18:49:06 +00:00
Vadim Zeitlin
09f277d683 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:58:46 +00:00
Vadim Zeitlin
bf85ddfc8a look in the environment for the options values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:33:14 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Vadim Zeitlin
247c23b466 fix handling of % in our printf implementation (part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:21:15 +00:00
Vadim Zeitlin
42a3ecf573 create text control with wxTE_PROCESS_ENTER style if we have wxPROCESS_ENTER ourselves (patch 1512803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:15:31 +00:00
Vadim Zeitlin
57b49e9445 fix VC compilation warnings about implicit int->bool conversion after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:12:05 +00:00
Vadim Zeitlin
a65ffcb229 use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:07:45 +00:00
Vadim Zeitlin
5769347356 remove duplicate m_popupInterface (patch 1509424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:04:27 +00:00
Julian Smart
6334d90353 Added wxPROPSHEET_TREEBOOK option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 08:01:54 +00:00
Julian Smart
58f1fdc926 Remove use of GetVolumeInformation since it causes long delays on network drives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 07:55:15 +00:00
Vadim Zeitlin
800991b674 allow empty filename in ctor taking the extents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:39:56 +00:00
Vadim Zeitlin
547ceb38ff include wx/msw/metafile.h when wxUSE_WIN_METAFILES_ALWAYS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:37:34 +00:00
Vadim Zeitlin
eeea41abbc force showing 0 in the spin control instead of leaving it empty as the native spin button seems to be content to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 12:20:50 +00:00
Vadim Zeitlin
58772e4992 picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 01:04:44 +00:00
Vadim Zeitlin
6be6127e66 add SetSelection(-1) test (part of patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:47:47 +00:00
Vadim Zeitlin
ef33382e43 deselect all items when SetSelection(-1) is called (patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:46:32 +00:00
Vadim Zeitlin
be0ac1819a added SetModified() for people who find it easier to understand than MarkDirty/DiscardEdits (patch 1504449)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:39:32 +00:00
Vadim Zeitlin
ca243008b3 remove the item from proportions arrays as well as from m_growableCols/Rows in wxFlexGridSizer::RemoveGrowableCol/Row(); also added an assert in case the item to remove is not growable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:11:59 +00:00
Vadim Zeitlin
f5a9eef7c7 define WXMAKINGDLL_QA when WXMAKINGDLL is defined (patch 1502015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:03:33 +00:00
Vadim Zeitlin
b21d68c68b explicitely include <shellapi.h>, apparently needed when wxUSE_GUI=0 and PCH are not used (patch 1501701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:01:03 +00:00
Vadim Zeitlin
686ecd1557 avoid infinite loop in AlwaysYield() if we somehow got WM_PAINT in the queue (patch 1501682)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:53:53 +00:00
Vadim Zeitlin
d595fb29c9 fix gcc warnings about in printf format (partly modified patch 1500717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:47:50 +00:00
Vadim Zeitlin
669c595daf added an extra pixel to the margin in CalcSizeFromPage() (patch 1498847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:43:11 +00:00
Kevin Ollivier
9ef3cca85b Setting up unix dobuilds script to run gtk2 builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:54:10 +00:00
Kevin Ollivier
95a866a69f Removing all occurrences of the distrib scripts in the manifests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:48:00 +00:00
Vadim Zeitlin
5e3b8b9301 added a possibility to test how a custom bitmap appears in the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:43:23 +00:00
Michael Wetherell
2d672c46c0 Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:msp:75436:ofgfinakfempiciaejof


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 11:18:28 +00:00
Vadim Zeitlin
aceeebce6d added back 2 extra pixels for the best size under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 09:10:02 +00:00
Vadim Zeitlin
e59c2b2da3 added VK_SNAPSHOT <-> WXK_SNAPSHOT mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:33:26 +00:00
Vadim Zeitlin
7140327898 recognize WXK_NUMPAD_XXX keys in wxCharCodeWXToMSW(): it's better to map them to VK_XXX then to some random junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:31:43 +00:00
Vadim Zeitlin
d5c21b02b5 reorganized VK to WXK translation code to use a table instead of huge switch statement in which it was too easy to get lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:27:02 +00:00
Vadim Zeitlin
d381e983eb more tweaks to bitmap button borders:
- we don't seem to need the extra +2 after Jamie's fix for the min size
- we shouldn't use margins at all for buttons without border, this looks bad
- refactored the code slightly to avoid some duplication


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 17:22:13 +00:00
Julian Smart
0a292d0de4 Added missing makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 14:20:44 +00:00
Vadim Zeitlin
21dc463833 strip HTML tags when searching for keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 01:12:06 +00:00
Vadim Zeitlin
a0d43d79c2 corrected redundant link to wxLogTextCtrl itself in its see also section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 00:20:57 +00:00