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
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
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
Włodzimierz Skiba
8dd8666360
Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:22:05 +00:00
Włodzimierz Skiba
841f23e18a
Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 07:36:58 +00:00
Włodzimierz Skiba
6e204d57c4
Removed outdated initialization.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 17:02:26 +00:00
Włodzimierz Skiba
582f07c253
[ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Włodzimierz Skiba
df69528b7e
Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Jamie Gadd
9d1b7527cd
Add required padding to DoGetBestSize() for small bitmaps when using themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 23:50:18 +00:00
Włodzimierz Skiba
8e5ec12961
[ 1508778 ] Fix for wxOwnerDrawnComboBox list selection rendering.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 21:14:19 +00:00
Włodzimierz Skiba
dd05139a80
Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Paul Cornett
b85229d15b
remove redundant GdkBitmap representation from wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540
remove obsolete color cube and image to bitmap code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Włodzimierz Skiba
e5d6334238
[ 1507736 ] wxOwnerDrawnComboBox improved list item width checking.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:02:10 +00:00
Vadim Zeitlin
1d39a12a30
more tweaks to the margins: don't need them to be so big in vertical direction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 08:24:39 +00:00
Włodzimierz Skiba
25466131ac
Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Paul Cornett
fa21f43888
initialize GdkColor so code which incorrectly accesses it will work as well as it did before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 03:19:44 +00:00
Vadim Zeitlin
9413e1e34a
allow claling Unassociate() on previously not initialized wxMimeTypesManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:33:38 +00:00
Stefan Neis
21a9132e92
Fixed sizer height and queried text length according to patch #1507207
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:31:07 +00:00
Stefan Neis
1ebd017e14
Partly reverted changes to Get(Current)Selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Julian Smart
0db43f1ab6
Wouldn't compile on Intel/universal binary with those tests, and
...
do we really need several lines of ifdefing just to include a header
maybe for microsecond gains?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:16:43 +00:00
Paul Cornett
db60c20db8
revert unintended changes in previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:54:05 +00:00
Paul Cornett
2796f657c9
build fix for older gtk2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:42:24 +00:00
Paul Cornett
4f558e23ff
build fix for older gtk2, second attempt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
086b047624
build fix for older gtk2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 21:09:53 +00:00
Paul Cornett
a0f81e9f15
use AllocExclusive in wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 19:09:28 +00:00
Vadim Zeitlin
cb5bc9b7e2
don't loop needlessly in OnHelp() if the event comes from the bookctrl itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 12:48:54 +00:00
Jouk Jansen
1fe0a566bb
Committing in .
...
Update OpenVMS makefiles to support wxAUI
Modified Files:
wxWidgets/descrip.mms
Added Files:
wxWidgets/samples/aui/descrip.mms
wxWidgets/src/aui/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:20:31 +00:00
Włodzimierz Skiba
b3a44e057b
Include wx/region.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:14:51 +00:00
Włodzimierz Skiba
32c62191d7
Final fix for Bug #1472688 'wxString::Trim() is broken'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 23:21:28 +00:00
Włodzimierz Skiba
db53c6ea2e
[ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 21:10:58 +00:00