Commit Graph

35795 Commits

Author SHA1 Message Date
Mart Raudsepp
4eb8ef2d43 Fix a few warnings that appear with -Wextra (unused parameters where WXUNUSED is already used for other parameters
for the same function, and some GTypeInfo initializations)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:35:41 +00:00
Robert Roebling
2121eb69fa Another RTL fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:42:42 +00:00
Robert Roebling
61961a3cdf Give wxGrid its own string name for easier debugging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:28:23 +00:00
Robert Roebling
bf6c0db624 Fix scrolling bug where client size was reported wrong
when the scrollbar size was not subtracted when
    using a targetwindow != this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:22:20 +00:00
Vadim Zeitlin
8930b2ed1e rebaked after listctrl/imagelist and wxUniv changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:26:55 +00:00
Vadim Zeitlin
147b8a4ab5 refactor some existing themes methods in a new base wxStdRenderer class (before adding a new theme)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:09:42 +00:00
Vadim Zeitlin
9cd7a3f700 use native wxImageList for wxUniv, it's a low level class and so it doesn't make sense to always usegeneric version (also fixes wxUniv build broken by recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:06:35 +00:00
Robert Roebling
615b7e6ab0 More wxGrid RTL things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 21:02:09 +00:00
Robert Roebling
01f512d7fc Fix compilo under MINGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 21:00:29 +00:00
Robin Dunn
2614da437c Kevin's prefered way to do the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:41:08 +00:00
Robin Dunn
ddb2cbee44 Use wxListCtrlNameStr for the generic control too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:39:41 +00:00
Robin Dunn
6a223074d3 docstrings and other minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:44:21 +00:00
Robin Dunn
e2b79cc98f revert last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:15:12 +00:00
Robin Dunn
72bc14da9d Add a couple missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:14:02 +00:00
Robin Dunn
bd6412b6d0 Don't unconditionally include the generic headers, fixes build
problems on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:13:11 +00:00
Robin Dunn
f1460f5b23 minor demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 15:26:09 +00:00
Robin Dunn
8c16f80618 Don't turn off the HAS_BUTTONS stle on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 15:25:30 +00:00
Robert Roebling
bcb614b328 More RTL work. Now transform m_updateRegion and
do nothing special in IsExposed() since some
   code may use m_updateRegion directly. Keep
   untransformed version around for use with
   GTK clipping in the DC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 14:29:16 +00:00
Robert Roebling
3b5bf82893 Draw 2-pixel width rectangle ourselves, the
X11 code leaves one pixel white (?) and
    looks differently positioned in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 13:20:08 +00:00
Stefan Csomor
2a81538d69 fixing notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 12:17:34 +00:00
Václav Slavík
5942996c94 basic blitting implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 11:20:58 +00:00
Julian Smart
11ea1abfa0 Removed rogue continue statement (bug 1560636)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 10:59:28 +00:00
Stefan Csomor
50d8f02279 fixed crash when no status bar is present, conditionals around optional parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 07:52:49 +00:00
Kevin Ollivier
8a3e173a02 Remove duplication in wxImageList defines and always default to using the native wxImageList when available, even for wxGenericListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 04:41:09 +00:00
Kevin Ollivier
f418332658 Fixing compilation on Mac, and attempting to better calculate the bottom position for the toolbar. However, this is not completely fixed and needs more work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 02:39:36 +00:00
Robert Roebling
31a8bf3fbf [ 1521481 ] wxPathList modernization
Applied part II.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:58:12 +00:00
Robert Roebling
5b2acc3a4f [ 1550698 ] Bottom aligned toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Robert Roebling
982a6623f7 [ 1558691 ] wxPNGHandler: Preserve palette
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:43:17 +00:00
Robert Roebling
9c7669d7a4 [ 1559550 ] Fix wxVariant wxDateTime conversion from time string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:21:43 +00:00
Robert Roebling
604affda6c Mention that GTK+ and OS X already are double buffered.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:09:26 +00:00
Robert Roebling
b104d1f017 [ 1557326 ] Remove redundant code from wxComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:03:15 +00:00
Robert Roebling
7d90da2b4c Applied [ 1555974 ] small wxURL improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:59:18 +00:00
Robert Roebling
3ab296d9eb Commit patch [ 1559950 ] fix mem leaks in wx{Dir|File}Dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:49:11 +00:00
Robert Roebling
d1526a6787 Remove debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:30:06 +00:00
Michael Wetherell
5719eab2bf Fix missing 3rd party builtin libs for static monolithic builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 09:07:07 +00:00
Kevin Ollivier
c2c04edc2c Commiting re-baked files after wxListCtrl OS X additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 08:06:09 +00:00
Kevin Ollivier
6a623422ec Accidently checked for invalid image index rather than using the mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:30:26 +00:00
Kevin Ollivier
e2bc1d6981 Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4/GTK2. Tested samples on Win and OS X. Also, support for co-existance of native and generic list ctrl on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:20:08 +00:00
Kevin Ollivier
e96bbb453c Adding OS X list ctrl implementation file, and listctrlcmn file for shared wxListCtrl code (only events right now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 23:04:34 +00:00
Robert Roebling
807a572ef4 Next round of RTL fixes. This change greatly simplifes
the code and makes most #ifdefs redundant.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 21:44:21 +00:00
Robin Dunn
9b0b3151e0 tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:55:03 +00:00
Robin Dunn
24648f5583 Tweaks and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:50:26 +00:00
Robin Dunn
5acb46e0cd new wxRect and wxPlatformInformation methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:05:36 +00:00
Robin Dunn
dba7934c9d added more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 18:12:37 +00:00
Vadim Zeitlin
15b2504679 remove unused any more wxArrayHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:51:22 +00:00
Vadim Zeitlin
f790ec82e7 added wxRect::GetTopRight/BottomLeft() for consistency with the existing GetTopLeft/BottomRight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:36:30 +00:00
Vadim Zeitlin
7ca253a50f build extra wxUniv tags file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:15:13 +00:00
Michael Wetherell
58e65954e9 Minor cleanup: use AC_CHECK_DECLS for the gtk_icon_size_lookup check instead of
AC_TRY_COMPILE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:09:43 +00:00
Michael Wetherell
ef0aeb729d Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:01:17 +00:00
Robin Dunn
d49bdf3432 wx.EvtHandler is OOR capable
docstring fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 01:37:29 +00:00