Benjamin Williams
dec588bd6e
reverted an earlier patch that was causing problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 18:50:18 +00:00
Robin Dunn
af672b5ae8
Add wxRTTI info for the event class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:19:03 +00:00
Włodzimierz Skiba
8fdc4ac7b8
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:57:02 +00:00
Alex Bligh
205515afd7
Added style wxTE_PROCESS_ENTER for wxOwnerDrawnComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:00:53 +00:00
Robin Dunn
0b2bbd174f
Need to skipp the first half of ShowHint if the platform doesn't
...
have transparency support yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 05:58:48 +00:00
Vadim Zeitlin
9ffab13f6d
gcc -Wundef warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 23:01:29 +00:00
Robin Dunn
2b73a34e1b
properly offset the mouse position for the label window clicks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 22:13:24 +00:00
Alex Bligh
25ae9fb8ca
wxComboCtrlBase: Fix SEGV due to double deletion where SetPopupControl is called twice after lazy creation of the popup, the first deleting m_popupExtraHandler and the second attempting to delete it a second time.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 19:19:04 +00:00
Alex Bligh
d9e0958c7e
Added GetWidestItem() and GetWidestItemWidth() to wxVListBoxComboPopup
...
and wxOwnerDrawnComboBox as per Jaakko Salli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 17:42:39 +00:00
Włodzimierz Skiba
ca5db7b213
Dummy stub for wxGetMouseState() (tinderbox build fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 12:24:23 +00:00
Włodzimierz Skiba
a1b3b60832
Tinderbox warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 10:47:29 +00:00
Włodzimierz Skiba
23f826bdf9
wxRound() workaround to avoid unexpected compile and link errors on incomplete environments (Tinderbox build fix).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 09:09:09 +00:00
Vadim Zeitlin
468c46935a
use ZIP entry modification time, not the (inexistent) file modification time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:14:26 +00:00
Robin Dunn
2713fedc46
Oops, I misremembered the name of wxUnusedVar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:01:29 +00:00
Robin Dunn
81cc4eb227
Enable transparent hints and dragging on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:48:19 +00:00
Alex Bligh
5c62cb6c7d
wxAUI: maintain minimum size of panes across dock/undock.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:09:33 +00:00
Robin Dunn
e8a5d614ca
Remove call to gtk_pizza_set_clear, which doesn't exist any more.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:39:42 +00:00
Benjamin Williams
e092fb2e67
fixed wrong comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:39:04 +00:00
Benjamin Williams
5875464394
added EVT_AUI_PANECLOSE and updated sample accordingly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:38:02 +00:00
Stefan Csomor
17d4f7aca8
int warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:11:20 +00:00
Stefan Csomor
747592e7cb
making cocoa build again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:10:46 +00:00
Włodzimierz Skiba
9804d5404a
wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Włodzimierz Skiba
84dc000666
Return OS description for WinCE too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:04:53 +00:00
Alex Bligh
c68038f3bd
wxAUI: Send cancel event on floating panes closing too (last log was misleading - that was on docked panes with a hand-drawn close button).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:58:24 +00:00
Alex Bligh
cf08f19a72
wxAUI: Send a cancel event to the window within a frame which is closed, so it knows it is being destroyed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:52:22 +00:00
Włodzimierz Skiba
80d9952564
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:49:08 +00:00
Vadim Zeitlin
8f9643924b
release build unused variable warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 16:43:25 +00:00
Julian Smart
3956d02ab6
Scrolling improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:35:34 +00:00
Alex Bligh
e5ab82d310
wxAUI: Made fixed size floating panes work
...
wxAUI: Added IMPLEMENT_CLASS etc. for wxFloatingPane for a later patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:26:33 +00:00
Stefan Csomor
ed3d6ace49
XTI adaption for new event name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 14:16:33 +00:00
Stefan Csomor
8e952859a6
wxColour lost its Create method, use direct creation for XTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 12:31:47 +00:00
Włodzimierz Skiba
99ae6124dd
WinCE build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 10:33:06 +00:00
Stefan Csomor
d43d9ee796
was crashing wxCocoa builds (decomposition will be needed there as well, but the current implementation is based on the TEConverters)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 09:12:34 +00:00
Vadim Zeitlin
f8dbde42fa
s/WXK_NEXT/WXK_PAGEDOWN/ to fix compilation with compatibility off
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:37:31 +00:00
Vadim Zeitlin
956689757d
don't assert in SetStringSelection() if the item isn't found for consistency with wxItemContainerImmutable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:31:52 +00:00
Vadim Zeitlin
1294722aa6
fix -Wundef gcc warnings about wxUSE_MS_HTML_HELP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:11:52 +00:00
Julian Smart
27e20452c4
SetStyle/GetStyle corrections
...
Added compatibility ctor to wxTextAttrEx
wxRichTextCtrl should take a string value for wxTextCtrl compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:13:18 +00:00
Robin Dunn
1a51c85ff3
ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 20:55:39 +00:00
Włodzimierz Skiba
155ecd4c42
Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Włodzimierz Skiba
98d0cd96fb
[ 1515217 ] wxComboCtrl textctrl event propagation bug.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:48:21 +00:00
Włodzimierz Skiba
276ebe79a6
[ 1515520 ] wxOwnerDrawnComboBox mouse hover on partially visible item.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:23:51 +00:00
Stefan Neis
6a17b868de
Fixed typos in comments (patch #1515724 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:40:38 +00:00
Stefan Neis
331f1e07ce
Fixes to sizing and others, according to patch #1507207 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:11:58 +00:00
Julian Smart
05b4fddf49
Implemented wxTextAttrEx::CombineEx and wxRichTextAttr::Combine
...
Setting the default style now combines the default with the
new style, instead of just overriding it, so it is possible to
select e.g. bold and italic simultaneously in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 13:43:42 +00:00
Vadim Zeitlin
f2a59080e9
corrected preview scale calculation (patch from Daniel Walter)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:56:34 +00:00
Vadim Zeitlin
64c1effefa
use PROOF_QUALITY in LOGFONT by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:49:21 +00:00
Vadim Zeitlin
cc3de8a3fc
take pixel sizes into account as well when comparing fonts, not just point sizes which could be the same for fonts with slightly different height in pixels or, worse, the fonts with the same height but compeltely different widths
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:47:59 +00:00
Julian Smart
9d11268884
Added wxTextCtrlBase to type info, useful if different text control
...
implementations are available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Vadim Zeitlin
6f706ee0a3
fix appearance problems when the cell is scrolled (patch 1515458)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:35:01 +00:00
Vadim Zeitlin
df96c0fce6
use gtk_file_chooser_set_current_folder() instead of gtk_file_chooser_set_filename() in GTK+ native SetPath() branch (patch 1513554)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:31:55 +00:00
Vadim Zeitlin
7093413895
added ExpandAllChildrne() (patch 1498343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:22:42 +00:00
Vadim Zeitlin
5d95cab89d
don't use old name for wxTE_PROCESS_ENTER unavailable when compatibility is off
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:08:46 +00:00
Vadim Zeitlin
b524b5c6f8
reset m_selectingKeyboard in ClearSelection() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 00:29:58 +00:00
Vadim Zeitlin
c849ecefc2
don't refresh the menu if it's frozen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 00:17:42 +00:00
Julian Smart
563d25babe
Need to convert from physical to logical units inside HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 16:43:54 +00:00
Vadim Zeitlin
6fd54d582d
don't set the size to the full screen for the windows which are maximized before being shown, just set the pending size to make sure that layout calculations work correctly but without breaking restoring the window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:21:58 +00:00
Vadim Zeitlin
0d6fdb3cbd
use WM_NCCALCSIZE in DoGetClientSize() if the window has deferred size, even if it's toplevel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:19:41 +00:00
Vadim Zeitlin
977f50f3fd
don't ignore dialog code when processing Ctrl-keys; otherwise text controls and listboxes never get Ctrl-PageUp/Dn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:27:46 +00:00
Vadim Zeitlin
efe5e221b4
support Ctrl-PageUp/Dn for changing the notebook pages in addition to [Shift-]Ctrl-Tab (this is also a standard key combination)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:08:00 +00:00
Vadim Zeitlin
b3e5d05894
we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
f638866768
call MSWProcessMessage() for the window itself, although a comment said that this was done it, in fact, wasn't (since rev 1.11 when this was changed, apparently accidentally)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:59:01 +00:00
Stefan Csomor
739cb14a31
making sure mac filenames are always decomposed D Unicode UTF8 and the internal wxStrings are using composed D Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 14:24:14 +00:00
Stefan Csomor
9fff727353
missing retval
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 09:16:41 +00:00
Stefan Csomor
aee237983f
fixing PPI bugs in printer dcs and print preview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:45:03 +00:00
Stefan Csomor
db49000e6c
fixing PPI bugs in printer dcs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:44:12 +00:00
Benjamin Williams
cc0196c794
added/expanded various comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 07:28:39 +00:00
Stefan Csomor
757302fda3
switching all text rendering/measuring to ATSUI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:25:40 +00:00
Stefan Csomor
dfd468aafd
moving UniChar code to one place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Vadim Zeitlin
65f0638484
flush stderr in wxSafeShowMessage(): this might be unnecessary but definitely doesn't hurt and could be useful if stderr is redirected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 12:42:06 +00:00
Stefan Csomor
a0ef88bde8
fix for potential crash when conversion fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:16:49 +00:00
Stefan Csomor
1ae82ba9f2
fix for potention crash when conversion fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:07:50 +00:00
Julian Smart
3b2cb4316b
Moved wxRichTextCtrl to its own library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Robin Dunn
1c930beb60
Applied patch from Armel Asselin that reduces memory required when
...
pasting text and when sending events.
Comment out some unneeded asserts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 19:32:18 +00:00
Julian Smart
d876667522
Fixed zoom problem (Robert J.Lang)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 12:56:05 +00:00
Julian Smart
7f0d9d717d
Added support for tabs in wxRichTextCtrl (Ashish More)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +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
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
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
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
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
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
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
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
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