Commit Graph

41676 Commits

Author SHA1 Message Date
Vadim Zeitlin
e4161a2a08 use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 22:19:34 +00:00
Robin Dunn
87f8a3cf25 Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:36:13 +00:00
Robert Roebling
672e58d9e8 Add column to control after association with model (currently a requirement for wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:11:48 +00:00
Vadim Zeitlin
f456baf131 fix a couple more of unused parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 20:59:50 +00:00
Robin Dunn
fde5da316a Factor out code to create a standard sized bitmap so it can be used in
SetBitmapLabel too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:26:41 +00:00
Vadim Zeitlin
e461247b05 do use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defines vswprintf() in a pre-standard way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:20:44 +00:00
Vadim Zeitlin
3824e0db33 don't compare initial slider position with uninitialized m_pos (modified patch 1818759)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:16:06 +00:00
Vadim Zeitlin
9cd808434c implement wxSYS_DCLICK_MSEC support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 16:11:12 +00:00
Vadim Zeitlin
1e6b2edfc8 remove ODBC and DBgrid libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
f283c68310 added --prefix option which is useful when cross-building
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:38:29 +00:00
Julian Smart
96d38a8a71 Small code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:35:26 +00:00
Paul Cornett
a76c2f3715 remove extraneous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 07:27:12 +00:00
David Elliott
a9a854d73e Go back to my original idea of checking for EILSEQ and EINVAL and failing
immediately if either of those is set after wxVsnprintf call returns a
negative number to indicate some type of failure.

All other errno are assumed to simply mean that the buffer is undersized so
the platform C library function can set errno to anything it likes or simply
not set it at all and our code will keep trying to increase the buffer size
just as it did originally.

This should (hopefully) fix compilation with C libraries that only support
the most basic set of errors (of which EINVAL and EILSEQ are part).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 03:30:16 +00:00
Vadim Zeitlin
4488a1d332 added wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transparency-related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 21:15:04 +00:00
Stefan Csomor
5a2b31a0d7 fixing compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 20:11:51 +00:00
Robert Roebling
0eee633069 Added new line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:13:27 +00:00
Robin Dunn
e6d18909c9 Patch [ 1816051 ] MSW DrawEllipticArc inconsistent with other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:06:57 +00:00
Robert Roebling
d81ad1f044 Further attempts to get button header right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:04:14 +00:00
Robert Roebling
4bae66a8de Use CommCtrl to render sortup and sortdown indicators in header control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 17:39:53 +00:00
Vadim Zeitlin
9e06a15fc2 add HDF_SORTUP/DOWN definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 17:30:36 +00:00
Vadim Zeitlin
9bf6a1b80c escape underscores introduced by the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 16:12:45 +00:00
Robert Roebling
70a9e561df Trying to get native header button right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 13:57:33 +00:00
Stefan Csomor
143973fc13 moving os x config defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 13:07:48 +00:00
Vadim Zeitlin
bc0e68ebaf calling SetFocus() in OnMouseUp() is unnecessary if we skip the event in OnMouseDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:35:19 +00:00
Vadim Zeitlin
bf10569350 removed mention of inexistent file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:30:26 +00:00
Vadim Zeitlin
bc2ac5da6a compilation fix for wxUSE_STL==1 after wxList methods changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:27:13 +00:00
Robert Roebling
f69c03def9 Use a private GtkCellRendererText for rendering text in a wxDataViewCustomRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:26:04 +00:00
Robert Roebling
71c6b45513 Correctly set item in wxDataViewRenderer::Activate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 10:40:45 +00:00
Robert Roebling
45b81639ef remove deprecated and constructor and SetModal() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 09:03:58 +00:00
Robert Roebling
196a75d48d remove deprecated and constructor and SetModal() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:59:26 +00:00
Chris Elliott
05a09b0b9f update to 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:22:33 +00:00
Chris Elliott
4e0ed07931 correct file path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:22:03 +00:00
Chris Elliott
6ca2e4af31 update to 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:19:58 +00:00
Chris Elliott
eb2badcbb6 update to 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:15:59 +00:00
Stefan Csomor
bfa30135ba better appearance on mac w/o sunken border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:13:51 +00:00
Chris Elliott
0882eb4ee2 checked locations between 2.8 and 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:08:48 +00:00
Stefan Csomor
51e7be5664 xcode adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:00:55 +00:00
Stefan Csomor
d4159b2d18 making things compile and build again ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 07:58:02 +00:00
Vadim Zeitlin
62d249cb22 don't store NULL attribute in wxGridRowOrColAttrData::SetAttr() unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 21:27:56 +00:00
Paul Cornett
065ae02d48 add wxUSE_MINIFRAME wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:07:29 +00:00
Paul Cornett
84e5ae3d3c fix header wrapper typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:02 +00:00
Michael Wetherell
85d2919f49 When testing for getpwuid_r and getgrgid_r also check the signature. Solaris
7-9 have these with non-POSIX signatures.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:39:33 +00:00
Vadim Zeitlin
df2c23e79b replace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 23:25:11 +00:00
Vadim Zeitlin
b5ec7dd6ee fix unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 23:23:44 +00:00
Vadim Zeitlin
50c549b98d many wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF-8 as wire format for wxStrings) (patch 1812926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:54:26 +00:00
Vadim Zeitlin
30386aeb86 define wxUTF8Buf as the type returned by wxString::utf8_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:52:36 +00:00
Paul Cornett
48510f6156 don't force size_allocate in gtk_pizza_put, it shouldn't be necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:31:06 +00:00
Vadim Zeitlin
129d09bee9 fix (reversed) operator!() description (bug 1817138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:18:10 +00:00
Vadim Zeitlin
576adedbc0 undefine _DEFINE_LIST before redefining it; also rename it to have WX prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:02:08 +00:00
Vadim Zeitlin
fe1efe6ab7 deprecate wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 21:58:47 +00:00