Commit Graph

41137 Commits

Author SHA1 Message Date
Paul Cornett
1dd7badd1f use client size to avoid gdk_window_get_frame_extents, which returns the full width of the screen for wxTaskBarIconArea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 02:29:03 +00:00
Vadim Zeitlin
a07bf2d003 fix translation of wx priority values to the standard Unix ones in SetPriority()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:52:38 +00:00
Vadim Zeitlin
85866f52b3 fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:35:43 +00:00
Vadim Zeitlin
51c42fc50a don't use GetThemeMetric(HP_HEADERITEM, TMT_HEIGHT) as it doesn't seem to work; implement GetHeaderButtonHeight() in wxRendererMSW instead of doing it in wxRendererXP using HDM_LAYOUT; added test for this renderer method to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 21:50:28 +00:00
Paul Cornett
7d8e5b8f04 call SetLegacyWMProperties last, it calls gtk_widget_realize, which will lead to assertion failures if initialization has not been done yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 20:45:21 +00:00
Paul Cornett
37fde1063b fix IsProtocolSupported in unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 20:17:34 +00:00
David Elliott
118042914f Try the DefaultProperties key if the buildSettings key doesn't work when reading the SDKSettings.plist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:10:20 +00:00
Robert Roebling
b055d99116 Update to recent eggtrayicon version. Should be converted to GTK+ 2.10 code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 08:20:19 +00:00
Robin Dunn
4c784823a6 include private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:13:49 +00:00
Robin Dunn
af312d2179 more exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:12:09 +00:00
Robin Dunn
a3fd36e7c3 wrap the code in #if wxUSE_DATAVIEWCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:07:29 +00:00
Robin Dunn
c21ee7925b Update wxStack class macro for the new wxVector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:05:50 +00:00
Robin Dunn
09da4ae594 export wxGetNativeFontEncoding and wxTestFontEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:03:14 +00:00
Robin Dunn
4309ed1748 fix events and eventTypes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:02:25 +00:00
Julian Smart
a8e893433a Standard SDK fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-02 20:26:43 +00:00
Robert Roebling
c899416db0 Patch from Bo for new API, various fixes, live update for column header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-01 18:57:03 +00:00
Julian Smart
688a201a5a Added native focus rectangle drawing for wxMac (CG only at present)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 14:56:18 +00:00
Václav Slavík
614f971389 fixed badly named wxHtmlTag::GetParam() argument: with_quotes, not with_commas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 13:48:37 +00:00
Robert Roebling
b15666a6fa typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 12:43:24 +00:00
Robert Roebling
be3d63c189 Add wxDataViewCtrl to the build for OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 12:42:57 +00:00
Robert Roebling
097119648b Added const and virtual in various places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:55:36 +00:00
Robert Roebling
a976841204 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:48:40 +00:00
Robert Roebling
74fe973bba Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:44:59 +00:00
Robert Roebling
b04fcede8f Added wxDataViewCtrl::AppendIconTextColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:14:49 +00:00
Robert Roebling
c1e17d4cc3 added wxDataViewIconTextRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 08:58:25 +00:00
Robert Roebling
d60e8c6b0e small doc patch from Bryan Petty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 08:31:41 +00:00
Julian Smart
c2edb90727 Use new menu item function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 07:37:22 +00:00
Vadim Zeitlin
c2c87924e7 use WX_ASSERT_STR/SIZET_EQUAL instead of CPPUNIT_ASSERT_EQUAL with casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 20:21:49 +00:00
Vadim Zeitlin
6cf1cf9e6d don't use use UTF-8 to PUA mapping hack, it's not necessary any more now that wxConvAuto can read non-UTF-8 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 20:21:16 +00:00
Vadim Zeitlin
fe1b98f5d5 fix resize() when it's used for truncating a string in UTF-8 build; added test for this bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 18:13:29 +00:00
Vadim Zeitlin
01a9232b5e use fallback encoding in wxConvAuto when input is not in UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:54:28 +00:00
Vadim Zeitlin
b61af83717 use wxNullPtr instead of NULL with wxFileTypeInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:45:35 +00:00
Paul Cornett
d48687a071 X property data is long for format 32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:13:20 +00:00
Robert Roebling
c17b2e3151 Patch from Hartwig for wxMac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 13:09:20 +00:00
Robert Roebling
24c4a50f43 Patch from Bo, implements mouse hover, default sort
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:29:59 +00:00
Robert Roebling
c2a92c8013 make SetValue return a value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:09:28 +00:00
Paul Cornett
6ef1b2a1c1 add missing static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 17:08:58 +00:00
Julian Smart
806f9e8330 Avoid crash if user aborts the print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 16:41:01 +00:00
Julian Smart
a14337d63f The toolbar background for some colour schemes cannot be determined
(for example Silver). So set an explicit background colour to avoid parts of
the background being painted wrongly.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 15:39:29 +00:00
Robert Roebling
c9c13e7043 add wxDataViewIconTextRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:48:12 +00:00
Robert Roebling
8935265382 add wxDataViewIconText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:12:12 +00:00
David Elliott
da19c58b60 wxTextCtrl: Implement alignment flags, editable (read only) status, and GetLastPosition.
Patch from Mark Oxenham. Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 21:47:45 +00:00
Robert Roebling
2baf8467ce add objectdataptr.tex to classes.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 20:33:13 +00:00
Julian Smart
aad7e71c66 Compile fix for old W32API headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:25:59 +00:00
Václav Slavík
0e89a51a25 added some clarifying comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 15:08:07 +00:00
Václav Slavík
d989875a52 fixed memory leak in RestoreState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 14:51:46 +00:00
Robert Roebling
369d17c075 added copy constr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 12:30:56 +00:00
Robert Roebling
ef36734a79 added docs for wxObjectDataPtr<T> and examples for ref counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 12:26:20 +00:00
Robert Roebling
513edac21e syntax correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 11:08:55 +00:00
Václav Slavík
5367a38ad3 optimized wxMBConvStringUTF8::ToWchar() for ASCII characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 10:40:40 +00:00