Václav Slavík
8b4b586ce9
fixed wxListCtrl::RefreshItem(s) - it didn't update anything before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:07:13 +00:00
Vadim Zeitlin
21bf81db6f
revert r51647 change as it broke the code overriding AcceptsFocusFromKeyboard() to prevent the user from tabbing into a window; simply override it at wxControlContainer too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 13:58:38 +00:00
Stefan Csomor
f3b2b3e920
under 10.4 there are some theme brushes represented as pure grayscale, convert them to the rgb components accordingly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 14:48:21 +00:00
Stefan Csomor
d5af92fdd9
adding comments for debugging visibility differences between native and wx state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:53:42 +00:00
Stefan Csomor
18d01215a1
Use native visibility information at this point, as it might trigger during a sequence of hiding/showing events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:46:26 +00:00
Stefan Csomor
ef53a8e814
avoiding double firing of visibility state changed for certain controls like multiline text controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:45:10 +00:00
Vadim Zeitlin
841e47cfd7
remove MacIsReallyShown() as we now have public IsShownOnScreen() doing exactly the same thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 00:19:18 +00:00
Robin Dunn
975bcfda0d
Add MacHideApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:37:43 +00:00
Václav Slavík
6fba6c78a4
fixed wxBitmapButton to use focus and hover bitmaps correctly; also fixed tons of misnomers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:59:36 +00:00
Václav Slavík
66470d87a3
fixed strange focus order in wxTipDialog and set initial focus to the checkbox instead of read-only textctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 18:44:38 +00:00
Julian Smart
983ddcb9d6
Fixed IsShownOnScreen() for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:12:16 +00:00
Václav Slavík
bbd92d1dbe
moved win_gtk.h header to wx/gtk/private, it's for internal use only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Julian Smart
6ccbca24ee
Fix caret position when deleting last character
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:58:43 +00:00
Julian Smart
5607c89090
Don't treat character attributes as non-paragraph attributes if using a named paragraph style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:23:39 +00:00
Julian Smart
bb5b214dab
Don't omit empty text objects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:19:00 +00:00
Vadim Zeitlin
fb090fa18c
fix harmless unused variable warning under CE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:14:10 +00:00
Vadim Zeitlin
2261baf7a4
restore generic DrawEllipticArc() used by CE which was lost during the great wxDC refactoring somehow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:13:39 +00:00
Václav Slavík
61d34c10ea
removed now-unused wxSizer::GetMax/MinWindowSize helpers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 14:07:04 +00:00
Julian Smart
4b3483e73b
Fixed two out by one errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 20:33:18 +00:00
Vadim Zeitlin
8fda05d726
revert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922) as this completely broke wxFS URLs parsing; explain this in a comment in the trunk version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 16:33:55 +00:00
Vadim Zeitlin
345264343a
implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
928f37c688
don't encode collons in file:// URLs under Windows as IE is incapable of opening them (and other browsers can open both forms) (patch 1890922)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:37:53 +00:00
Vadim Zeitlin
8949ba7d74
reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:47:50 +00:00
David Elliott
96b35b2505
Rework the dl* Darwin compatibility code so it uses the real functions when
...
available. If compiled to allow for pre-10.3 systems it will do the check
at runtime and the compatibility functions will be compiled but likely
not used. If compiled with 10.3 or higher as the minimum version, the
compatibility functions will not be compiled and the library will work
identically as it does on all other UNIX.
Even if the compatibility code is compiled in, the function names are now
prefixed with wx_darwin_ and are marked static so they don't make it into
the exported symbols, even in their C++-mangled form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:44:46 +00:00
Vadim Zeitlin
8cee59b521
honour locale modifiers such a @valencia in system locale (patch 1896444)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:43:29 +00:00
David Elliott
c86ec17bcd
Limit wxListBox best size to 100x100. Particularly important on trunk where
...
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
861b3043ca
Revert the 2.8 hacks from r51892 on the trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:26:51 +00:00
David Elliott
580cc1eb85
Ensure that the NSTableColumn width is that of its largest item to enable
...
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
e71594c236
Fix bug where native views with the NSScrollView wrapper would have their
...
document size reset to the wx virtual size upon any size event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 04:58:07 +00:00
Vadim Zeitlin
b5e2a45022
add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Vadim Zeitlin
f986fe7613
fix wxNotebook::GetPage{Text,Image}() when they were called from the page change event handler for the first added page (patch 1895161)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 01:37:23 +00:00
Vadim Zeitlin
2fda1fe5fd
fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Julian Smart
fa01bfddc6
Avoid paragraphs with no children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 13:36:03 +00:00
Julian Smart
9dda10ae72
Fixed an XML parsing error for complex URLs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:48 +00:00
Julian Smart
65db6e118e
Removed unnecessary include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 11:15:21 +00:00
Stefan Csomor
297218f05a
better implementation from VZ
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 21:06:35 +00:00
Stefan Csomor
bf31b1d6d8
supporting case insensitive iteration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:24:13 +00:00
Stefan Csomor
15169ab341
applying patch 1894478, 10.5 AudioServices support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:21:07 +00:00
Julian Smart
af33c0ec5f
Set default attributes after a SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:57 +00:00
Vadim Zeitlin
fcc7fdb689
don't clutter the code with (apparently) unnecessary SM_SWAPBUTTON checks (patch 1892656)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 14:35:11 +00:00
David Elliott
fd3fe3ec79
Better listbox scrollbar behavior.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 23:34:48 +00:00
David Elliott
97795793dc
Hack: force a vertical scroller on wxListBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 22:54:20 +00:00
David Elliott
19253261f5
Move wxWindowCocoaScrollView class into its own header.
...
(Equivalent of r51796 on the 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:08:44 +00:00
David Elliott
1a393573c3
More GC fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 19:46:21 +00:00
Vadim Zeitlin
ea88b5fa33
more unused parameter warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 15:57:11 +00:00
Vadim Zeitlin
7857346a54
I got too tired of seeing these unused parameters warnings finally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 15:24:09 +00:00
Václav Slavík
ed6008f49f
greatly simplified wxGenericCollapsiblePane::OnStateChange() after wxSizer fixes from r51789
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:43:16 +00:00
Václav Slavík
428c07c0f8
fixed wxSizer::SetSizeHints() to allow setting smaller size than before (e.g. when wxCollapsiblePane collapses)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:41:56 +00:00
Julian Smart
df707c27b3
Cut down on unnecessary update events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:08:49 +00:00
Julian Smart
3570a1c6e5
Performance optimization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:18 +00:00