Vadim Zeitlin
b1f381bf9b
tagging soures before removing of ODBC library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/before_odbc_removal@49348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:08:42 +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
Vadim Zeitlin
bdee3769af
accept "--opt val" and "--opt:val" syntax in addition to "--opt=val" as
...
documented (patch 1786465)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 21:08:38 +00:00
Robert Roebling
ee17111a41
Use wxDataViewSpinRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:15:05 +00:00
Robert Roebling
45c156e0ff
Redundant call to GetItemByRow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:11:30 +00:00
Robert Roebling
52e750fc75
Added wxDataViewCustomRenderer::RenderText() for renderer simple text in platform dependent way, added wxDataViewSpinRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:09:10 +00:00
Paul Cornett
59a722ea3a
don't need to paint tlw background, GTK does it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 16:23:38 +00:00
Vadim Zeitlin
99d4fdfdcc
always return just "$CXX -o" from wx-config --ld
instead of returning the
...
command needed to link a shared library (if this is really needed, we should
add another --shared-ld option for this) as it isn't suitable for linking the
user applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:59:05 +00:00
Vadim Zeitlin
c0030ca789
load message catalogs using wxFileSystem; use wxMemoryBuffer instead of raw pointers (slightly modified patch 1810106)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:33:24 +00:00
Robert Roebling
0b2e06f9f6
[ 1816882 ] wxListBox::SetSelection() doesn't update the control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:02:00 +00:00
Robert Roebling
05b743ba80
[ 1816944 ] GTK - wxMenuBar bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:55:55 +00:00
Vadim Zeitlin
624f89c2d7
don't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:55:50 +00:00
Vadim Zeitlin
c4b64a941e
add support for detached threads in wxThreadHelper (patch 1809015)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:49:10 +00:00
Vadim Zeitlin
576b18f214
spelling and other minor fixes (patch 1806283)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:45:46 +00:00
Vadim Zeitlin
14ee8dcc83
add discussion about the problems of using Yield() part of patch 1806283)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:42:03 +00:00
Vadim Zeitlin
060668a1f6
export wxInvalidSize from DLL builds (patch 1805738)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
Robert Roebling
816964cfd8
Only draw cell in selected style when control has focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:43:57 +00:00
Robert Roebling
4cda739ce4
Use BTNFACE colour for rendering selected item when widget is unfocussed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:33:32 +00:00
Robert Roebling
1cfc497117
Support hover over effect for DrawHeaderButton for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:20:29 +00:00
Paul Cornett
abdf096a05
use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:47:33 +00:00
David Elliott
67612ff18e
Fix wxVsnprintf-using code on both trunk and 2.8 and document how native
...
functions are supposed to behave as well as how some of them do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:44:01 +00:00
Robert Roebling
df1bc4fa5c
minor corr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:07:33 +00:00
Robert Roebling
83b852b070
minor corr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:04:16 +00:00
Julian Smart
c8058a09e5
Added wxVariantData::Clone and wxVariant::Unshare
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:01:54 +00:00
Robert Roebling
b0d7707bc4
Use wxPointList instead of wxList in wxDC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:53:55 +00:00
Julian Smart
24b209464f
Show debug report directory in long form on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 11:40:29 +00:00
David Elliott
f8aeb3e356
Improve behavior of menubar switching when windows are activated.
...
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active. Fixes Leopard issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 05:39:18 +00:00
David Elliott
2263f62d9b
Add missing wxT().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
30cfcda5b5
Add ProcessPendingEvents to wxApp::Yield which makes the code almost identical
...
to wxMSW's implementation save for using Cocoa instead of MSW.
Add a wxAutoNSAutoreleasePool around wxApp::WakeUpIdle so that calling it from
a thread does not leak the NSEvent.
Add several hundred lines of comments explaining the unique method that
wxCocoa uses to hook the underlying event loop and run loop so that wxCocoa
is able to provide things like wx idle events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:13:13 +00:00
Robert Roebling
736fe67c66
Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 20:56:38 +00:00
Paul Cornett
383144c756
simplify toolbar and statusbar create/set code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 17:20:38 +00:00
Robert Roebling
e44ac7bcd8
Pixel fiddling for correct placement of text with and without icons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:35:16 +00:00
Robin Dunn
a36885a079
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:49:41 +00:00
Robin Dunn
4412408856
Make event overview doc more clear about instances of wxEvtHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:48:15 +00:00
Robert Roebling
b89cac3f09
Corrected wrong initial/min size of generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:07:11 +00:00
Robert Roebling
438fb233a0
Implement HasContainerColumns in generic code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 14:40:08 +00:00
Vadim Zeitlin
43ea4e37eb
removed extraneous semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 10:06:32 +00:00
David Elliott
5a9d14c1b5
Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
...
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.
NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
Vadim Zeitlin
b24442f845
corrected GetKeyInfo() (bug 1815516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:22:55 +00:00
David Elliott
500659a897
Added fontfactory.h that should have been part of 49213.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:01:37 +00:00
David Elliott
51146826fc
Halfway reasonable implementation of wxFont for wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:54:43 +00:00
David Elliott
ada162b932
Ignore generated autoconf.m4f file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:19:22 +00:00
David Elliott
dd6c8be6e9
Apply modified patch 1785299 to trunk and 2.8.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Robert Roebling
ce0cf2b871
Make wxRenderer::DrawItemSelectionRect() draw a focus outline of wxCONTROL_CURRENT and wxCONTROL_FOCUSED is given, blind patch for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 20:57:01 +00:00
Vadim Zeitlin
e00b31799c
explicitly mention that IsChecked() can't be used with wxCheckListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:30:58 +00:00
Vadim Zeitlin
e256b53a3d
remove wxWindow::Clear() from wxDFB and wxMGL which was unused (probably replaced by ClearBackground()) and conflicted with methods with the same name in other classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:22:15 +00:00
Vadim Zeitlin
76c39b5df1
test for __DARWIN__ with ifdef, not if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:19:29 +00:00
Vadim Zeitlin
d3b8fe1071
include -DWXUSINGDLL in wx-config output under all platforms and not only Cygwin/Mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:55:25 +00:00
Vadim Zeitlin
fb06f27139
fix references to wxCmdLineParser ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:32:16 +00:00
Vadim Zeitlin
2df2a65b2d
fix broken links
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:29:14 +00:00
Robert Roebling
001f0f8273
Correct focus rect to not appear in unfocussed controls (currently doesn't appear at all under XP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:43:19 +00:00
Robert Roebling
49fc3b9c03
Correct EnsureVisible() to show last item entirely
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:21:04 +00:00
Robert Roebling
e2da67f6d7
More alignment issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:17:32 +00:00
Robert Roebling
69357fa0cb
Change default alignment to centre vertically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:50:22 +00:00
Robert Roebling
c7c5a6197d
Document alignment parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:49:16 +00:00
Robert Roebling
67be459bba
Ensure item is visible when selection moves, remove compile warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:37:48 +00:00
Robert Roebling
9743a4495c
Minor doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:03:46 +00:00
Robert Roebling
8abbc646c8
Minor doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:57:40 +00:00
Robert Roebling
4d373bc038
Minor doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:42 +00:00
Robert Roebling
729a8b9b44
Minor doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:19 +00:00
Bryan Petty
e807896d46
Corrected doc typo (missing escaped underscore). Patch by Tim Stahlhut.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 06:58:06 +00:00
Paul Cornett
c266eff98c
remove C++ comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:59:13 +00:00
Paul Cornett
525ee32a67
Fix declaration-after-statement compile error, remove C++ comments, remove unused GtkPizzaAdjData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:58:17 +00:00
Robert Roebling
e3c35a0d32
Moved paragraph to right place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:49:16 +00:00
Robert Roebling
0a13ee1b56
Minor sample corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:48:01 +00:00
Robert Roebling
d37b709c4b
Correct activate logic for <ENTER>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:41:36 +00:00
Robert Roebling
2c3f6edd63
Correct activate logic for mouse clicks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:38:13 +00:00
Robert Roebling
cf90f9cca5
Correct drawing placement (16px + 1 px border below)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:04:30 +00:00
Robert Roebling
11b3105abf
Correct text colour in wxIconTextRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:54:00 +00:00
Robert Roebling
cc28f5ecd0
Support for hover effect in header buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:48:19 +00:00
Robert Roebling
2a4f365c04
Doc improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 17:53:01 +00:00
Benjamin Williams
7da1b21e25
check if pane still exists before closing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 16:33:30 +00:00
Robert Roebling
ab5146089b
Corrected AppendXXXColumn method params
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 12:13:38 +00:00
Robert Roebling
716a15b700
Docs for wxDataViewTreeStore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:54:46 +00:00
Robert Roebling
e94d0c1e66
Add wxDataViewTreeStore with sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:41:46 +00:00
David Elliott
a3261ffb75
Fix wxExecute process end detect behavior for wxCocoa and wxMac. I have no
...
idea why the current code used for Intel Macs doesn't work but it's not
working for me at all. This should probably be backported to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 08:51:45 +00:00
David Elliott
1a6d6b1071
Combine the check for wxMac and then the other check for wxMac/wxCocoa into
...
one define called USE_OLD_DARWIN_END_PROCESS_DETECT because it's wrong
to created pipeEndProcDetect on wxCocoa when it's not going to use it!
The next commit will show why it's now "Old".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 08:37:11 +00:00
David Elliott
883ea3bf80
Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 04:44:54 +00:00
Robert Roebling
c33edc08d6
Beginning of wxDataViewTreeStore API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:01:24 +00:00
Robert Roebling
7909f748e6
Minor doc corr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:00:40 +00:00
Robert Roebling
7e59e3d050
Made wxList no longer inherit from wxObject, no change in STL mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:00:10 +00:00
Robert Roebling
9a0a58f5af
Use typesafe wxVariantList in wxVariant instead of wxList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 12:11:51 +00:00
Robert Roebling
7e6b478087
define typesafe wxVariantList (to be used by wxVariant instead of wxList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:57:48 +00:00
Robert Roebling
3586d10f72
wxVariantData no longer inherits from wxObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:45:34 +00:00
David Elliott
05725592b9
Implement creation of wxFont from wxNativeFontInfo.
...
Implement all of the getters to return the fields from the wxNativeFontInfo
contained in the wxFontRefData.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:47:38 +00:00
David Elliott
151b7b73cb
Replace most of the fields in wxFontRefData with one wxNativeFontInfo.
...
Done on both trunk and 2.8. Because the data members line up perfectly
and because I did not add nor remove any methods the ABI is (surprisingly)
not effected by this change.
The GetNativeFontInfo call now works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:30:59 +00:00
David Elliott
99d21c0e1f
Move wxCocoa's wxFontRefData from the header to the implementation file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 07:18:04 +00:00
David Elliott
9d31c23993
Rename src/cocoa/font.cpp to font.mm in both trunk and 2.8 branch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 06:58:26 +00:00
David Elliott
0206be6379
Disable accidently committed F-Script code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:31:56 +00:00
David Elliott
82ba48855e
Remove wxNonControlNSControl from trunk. Leave in 2.8 because it removes
...
symbols (although theoretically no one could have ever linked against them).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:30:46 +00:00
David Elliott
f48408ae35
Use WXNSView just like wxWindow does when creating a wxControl. There are
...
already wxControl subclasses such as wxStaticBox not using primary views which
derive from NSControl so wxControl has to support this already.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:27:02 +00:00
Robert Roebling
a826202ecf
Implemented HasContainerColumns() for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:36:21 +00:00
David Elliott
d39780517d
Implement wxWindow::GetTextExtent to use wxDC to at least return something
...
reasonable rather than leaving uninitialized garbage values unchanged.
Fix wxWindow::DoSetVirtualSize so that the underlying Cocoa view always
takes up at least as much area as its enclosing clip view. In particular,
wxDefaultCoord was not being handled, resulting in -1 size components.
Together, these make the generic wxListCtrl mostly usable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:17:45 +00:00
Robert Roebling
1e40f6676a
added wxDataViewModel::HasContainerColumns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 18:31:12 +00:00
Julian Smart
fe8b03618a
Make SaveFile and LoadFile virtual so they can be overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 19:56:38 +00:00
Chris Elliott
444833b323
update makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 15:58:04 +00:00
Chris Elliott
c1a4ce66a6
Borland still hates ?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 12:18:32 +00:00
Vadim Zeitlin
d935b42145
wxUniv compilation fixes in themed border drawing code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 09:46:00 +00:00
Michael Wetherell
646bac8a6e
Add quick builds for Windows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 21:54:26 +00:00
Václav Slavík
d350fbec22
compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 19:44:26 +00:00
Chris Elliott
b1ab476240
update setup.h for univ
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 17:01:34 +00:00
Vadim Zeitlin
2978a784f5
compilation fix for wxUniv: don't use the native wxTextEntry class in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 15:45:28 +00:00
Chris Elliott
ebdbecff4a
update souce of wxart2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:51:52 +00:00
Václav Slavík
0376cc529b
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:29:21 +00:00
Benjamin Williams
c89e16e423
added DockFixed() pane option; doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:27:03 +00:00
Václav Slavík
6a6ea041d9
compilation fix for Mingw: it doesn't have std::wostream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 09:48:00 +00:00
Chris Elliott
1583600031
fixes as per http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92325
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 07:44:34 +00:00
Chris Elliott
47b4bc1768
patch as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92350 thanks
...
chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 07:20:44 +00:00
Robin Dunn
b9cd2cb909
Give wxMac's wxStaticBox an AcceptsFocus method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 16:04:16 +00:00
Julian Smart
44cc96a80c
Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
...
to wxRichTextBuffer to reduce wxFont consumption and increase performance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Jouk Jansen
e97e6073b3
src/X11/font.cpp needs smae change as other wxXXX versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:20:32 +00:00
Jouk Jansen
0962839d23
Give NULL explicit type to make interface recognizeable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:18:11 +00:00
Jouk Jansen
5273b98ebe
Update OpenVMS Build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:17:24 +00:00
Benjamin Williams
88664cda08
in LoadPerspective, if pane wasn't found, just skip it instead of bailing out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 07:25:29 +00:00
Vadim Zeitlin
99d8bc6593
added a trivial test for wxString stream insertion operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:10:07 +00:00
Vadim Zeitlin
ee8c79c13f
renamed a strangely named variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:09:44 +00:00
Vadim Zeitlin
6b61b594cf
define insertion operator in std::wostream in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:09:01 +00:00
Vadim Zeitlin
7a906e1a21
fixed operator<<(ostream&, wxString) to output string contents and not wchar_t pointer value in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:59 +00:00
Vadim Zeitlin
6919e3bb38
don't define operator<<(ostream&, wxString) at all if it's already defined in the library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:20 +00:00
Vadim Zeitlin
d20d5ee858
no need to use ToAscii() explicitly in wxBase64Decode() call after r49095
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:00:31 +00:00
Vadim Zeitlin
dad49cc7f9
compilation fix for wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:50:32 +00:00
Vadim Zeitlin
e3408b704d
added wxBase64Decode() overload taking wxString, otherwise it's inconvenient to use in wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:41:50 +00:00
Robin Dunn
35a7f94b94
On Mac the first visible line needs to be recalculated after the Scroll because it can be set
...
to the wrong value in Scroll because of the paint event generated by the Update() there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:29:58 +00:00
Vadim Zeitlin
0f1b6d7b58
removed extra const in DoGetFilenames() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 13:00:45 +00:00
Chris Elliott
f1aa2b83cd
remove reference to old sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:10:49 +00:00
Chris Elliott
6b73ac78de
set minimum bcc32 version to turbo explorer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:00:59 +00:00
Vadim Zeitlin
d42b853581
blind fix for Borland problems with operator?: after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 23:24:22 +00:00
Vadim Zeitlin
8e5dbcdd50
simplify the code for extended flags handling fixing a rare bug with wxSTAY_ON_TOP being ignored in some situations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 22:11:55 +00:00
Vadim Zeitlin
f73eddd2a5
made wxTreeCtrl::GetNextVisible() behave in the same way in Win32 as in the generic version and implemented GetPrevVisible() in the generic version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:58:51 +00:00
Vadim Zeitlin
f0eebb39bc
don't create m_dottedPen with an invalid 0 style which results in an assert under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:48:09 +00:00
Václav Slavík
26f119eb25
compilation fixes for x86_64; use wxLogDebug instead of wxPrintf
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:20:16 +00:00
Vadim Zeitlin
143591e943
no changes, just fixed a typo in an error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 19:54:05 +00:00
Vadim Zeitlin
f226082da7
updated copyright year to 2007
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 19:49:09 +00:00
Vadim Zeitlin
b853a317e3
removed base.rc which is unused since many years
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 19:46:56 +00:00
Robert Roebling
a5fb925380
Update from Hartwig for OS X implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 19:15:30 +00:00
Václav Slavík
b85e0ae0a1
globally disable VC++'s warning 4251 (non-exported member in dll-exported class and remove broken workaround trying to silence it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 17:15:37 +00:00
Vadim Zeitlin
24904055f3
made Blur() methods const (bug 180914)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 17:02:12 +00:00
Julian Smart
aa097547e9
Corrected typo affecting outline level reading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:12:14 +00:00
Julian Smart
797e38dde1
Added missing URL attribute testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:11:41 +00:00
Vadim Zeitlin
e9717bd5d8
fixed several problems due to use of GetEditHWND() when the edit control is not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 11:19:09 +00:00
Vadim Zeitlin
bdb7278a27
fixed totally wrong change in r49070
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 10:45:34 +00:00
Vadim Zeitlin
8366ab05cd
don't use using directive, Watcom seems to have problems with it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 22:10:45 +00:00
Vadim Zeitlin
5fd636aa8a
added richtext sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 21:06:51 +00:00
Vadim Zeitlin
5ad3f0c8d1
fixed bug with inversed IsEditable() return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 21:02:31 +00:00
Vadim Zeitlin
14d6351382
always return wxString from wxGetUserHome() instead of char */wxWCharBuffer depending on the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 12:38:15 +00:00
Julian Smart
987bb1c66b
Fixed dangling pointer bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 09:02:24 +00:00
Chris Elliott
5b0c31c300
Borland has only lfind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 08:44:10 +00:00
Vadim Zeitlin
7d42f4d61b
fix GetPaths() and GetFilenames() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 00:14:21 +00:00
Vadim Zeitlin
398eebb155
fix wxGenericFileDialog::Get{Path,Directory,Filename}() functions which were completely broken by wxFileCtrl patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 23:54:40 +00:00
Václav Slavík
2826ef0c63
use typed containers in wxHtmlParser instead of type-unsafe wxList/wxHashTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 22:56:55 +00:00
Václav Slavík
3115bfa8a4
fixed WX_CLEAR_HASH_SET to compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 22:41:54 +00:00
David Elliott
e960ba596b
Duplicate wxTextCtrl code to wxComboBox because we can no longer derive wxComboBox from wxTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 20:12:02 +00:00
Michael Wetherell
17692c1de7
Add <name> to <compile-subdir>. It is what appears on the top of the column
...
when the step fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 19:33:19 +00:00
Robert Roebling
7f733b2674
forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 19:05:57 +00:00
Chris Elliott
fbbac9353b
add DMC to misbehaving compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 17:03:32 +00:00
Michael Wetherell
f2e582dda8
Cache user and group name as these can be expensive to get on some systems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:59:09 +00:00
Michael Wetherell
c005fb2809
Add buildbot tools and config include files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:55:18 +00:00
Chris Elliott
86dd5aff13
add missing inc files docsrc.rsp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:51:18 +00:00
Michael Wetherell
dfaae3e640
Fix wxString::replace when nLen is wxString::npos.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:50:49 +00:00
Vadim Zeitlin
91a865a4fa
check for m_filectrl != NULL in OnUpdateButtonsUI() (fixes crash under GTK1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:03:10 +00:00
Vadim Zeitlin
6e0e886278
fix range used for native volume in Set/GetVolume() and simplify the code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 22:35:44 +00:00
Vadim Zeitlin
a19e936e75
look for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as we used to do in 2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 21:45:33 +00:00
Vadim Zeitlin
ce903b6f06
some (blind) compilation fixes after wxString/Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 00:36:08 +00:00
Vadim Zeitlin
48d16e09ad
semaphore with count of 1 is not exactly the same as mutex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 00:13:51 +00:00
Vadim Zeitlin
11fa6e636b
initialize all fields of WINDOWPOS struct to avoid mingw32 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 17:34:30 +00:00
Michael Wetherell
53e372c281
Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with
...
-Wundef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 14:56:09 +00:00
Vadim Zeitlin
f5851311d3
fix several mingw32 warnings (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:36:35 +00:00
Vadim Zeitlin
b152d8c56c
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:32:25 +00:00
Vadim Zeitlin
8de93aba53
mention that Win32 mutexes are always recursive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:31:02 +00:00
Vadim Zeitlin
e74f12021d
don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Robert Roebling
6608fdab17
Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:41:46 +00:00
Chris Elliott
48801471de
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:30:34 +00:00
Chris Elliott
2d87db1201
add misisng files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 09:39:06 +00:00
Vadim Zeitlin
a95cad1c25
don't use tif_os2.c which doesn't exist any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 17:43:45 +00:00
Benjamin Williams
d7ad415c50
better child focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 16:13:30 +00:00
Vadim Zeitlin
25c702609d
include jconfig.vc under OS/2 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 13:02:52 +00:00
Vadim Zeitlin
8ece1737f4
define WXDLLIMPEXP_FWD_XXX as nothing for mingw32 too to avoid warnings about __declspec being ignored in forward declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 12:14:35 +00:00
Vadim Zeitlin
fb1a478979
use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:54:50 +00:00
Jouk Jansen
3a04ad7917
OpenVMS : removing dependency on obsolete Porting-library (Jackets)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:46:08 +00:00
Robert Roebling
854cdb0975
Added API for adding/deleting/changing multiple items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 10:54:57 +00:00
Jouk Jansen
6fda7f01f9
OpenVMS update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 05:58:13 +00:00
Vadim Zeitlin
1faa4ad2ba
don't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 20:37:29 +00:00
Vadim Zeitlin
c6a95dd6a2
really fixed the DST test by using explicit country in it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:28:29 +00:00
Vadim Zeitlin
770882a69e
return the beginning/end of DST in local time, not UTC, for consistency with the other methods; fixed the test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:27:23 +00:00
Vadim Zeitlin
8888d9710f
cleaned up and significantly simiplied Format() handling of %c and %x formats and fixed an assert failure in UTF-8 build due to the use of invalid Unicode characters such as -1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:11:36 +00:00
Václav Slavík
21b2dde583
generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:11:51 +00:00
Václav Slavík
6e26d6b78c
include line number information in wxXmlNode (based on patch #1803492 by Heikki Linnakangas)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:09:54 +00:00
Václav Slavík
43de415736
_WX_DECLARE_OBJARRAY was missing reserve() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:52:08 +00:00
Václav Slavík
cd64344431
use reserve() instead of Alloc() in WX_APPEND_ARRAY so that it works with std classes too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:44:45 +00:00
Vadim Zeitlin
7262371cd7
fix compilation in Unicode build (not sure if this fixes run-time behaviour though...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 00:58:14 +00:00
Vadim Zeitlin
09e89ab1b6
another wxCmdLineEntryDesc compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 00:50:29 +00:00
Vadim Zeitlin
457e5a40e7
fix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 23:10:35 +00:00
Vadim Zeitlin
84ef8365bc
ANSI mode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 22:28:55 +00:00
Vadim Zeitlin
c0ae6c3bc4
PCH-less build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 23:15:00 +00:00
Vadim Zeitlin
69a05ef6d6
correct properties were not set during initial add somehow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 23:14:08 +00:00
Vadim Zeitlin
32b171bc0e
another compilation fix after wxCmdLineEntryDesc changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:17:37 +00:00
Vadim Zeitlin
ac0c512d86
PCH-less build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 21:54:44 +00:00
Chris Elliott
3cb6eaec79
vc6 did not like this (void function returning a value)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 16:01:17 +00:00
Michael Wetherell
74e6734592
Add buildbot configuration.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 11:39:39 +00:00
Robert Roebling
fd8a7b0b37
[ 1803350 ] Wrong top-level window positioning on scrolled window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 20:21:52 +00:00
Václav Slavík
ad259ba5b2
copy the list in wxList::operator=(), for consistency with typed macro-based lists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 15:01:12 +00:00
Vadim Zeitlin
e6a8416274
added disambiguation for Clear() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:49:18 +00:00
Vadim Zeitlin
944287e68e
don't declare HasSelection() in this class and especially don't declare it as protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:47:12 +00:00
Vadim Zeitlin
30e62fdcb2
added msw/textentry{cpp,h}
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:44:14 +00:00
Václav Slavík
6987a0c480
fixed cellpadding when printing (bug #1795572 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 09:05:47 +00:00
Jouk Jansen
b693769692
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 08:09:44 +00:00
Vadim Zeitlin
2aebd278e3
continue with loading the message catalog even if setting the locale failed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 23:10:14 +00:00
Vadim Zeitlin
3a33127542
fixed command line processing which was preempted by wxApp::OnInit() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 22:57:02 +00:00
Vadim Zeitlin
ad4814e733
compilation fix after wxTRANSLATE() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 22:41:53 +00:00
Vadim Zeitlin
eae20a30ea
another compilation fix PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 22:32:36 +00:00
Robert Roebling
8611662072
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 20:57:42 +00:00
Robert Roebling
d290d2fe93
Compilo for non-PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 20:14:14 +00:00
Robert Roebling
c0845ad3a6
Forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 19:33:44 +00:00
Vadim Zeitlin
74f35eea76
part of wxComboBox to wxEntry refactoring (should have been part of rev48952)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:52:48 +00:00
Vadim Zeitlin
fa2f57be4d
refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:48:46 +00:00
Vadim Zeitlin
d6b9cc87c0
remove wxComboBox-specific hack, override DoSetToolTip() in wxComboBox itself instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:23:51 +00:00
Vadim Zeitlin
c282ec4402
compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replace() generates 2 events instead of 1...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 12:18:00 +00:00
Vadim Zeitlin
5abbb704ba
compilation fix for wxGTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 12:17:01 +00:00
Julian Smart
bff023f172
Added forward declaration for wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:41:11 +00:00
Vadim Zeitlin
c8fe7fda21
fix harmless unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:39:04 +00:00
Vadim Zeitlin
0ec1179b86
added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00
Vadim Zeitlin
c0d9b217a7
added unit test for some of wxTextCtrl methods and its events generation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:28:31 +00:00
Vadim Zeitlin
232f89100e
fix operator<<() for wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:22:41 +00:00
Vadim Zeitlin
01e6aa1e2b
define wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings during wxMotif build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:56:06 +00:00
Vadim Zeitlin
d41ef7b547
fix warning about visibility attribute ignored on non-class types (which was given for wxGetClipboardData only but change the other functions too for consistency)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:53:28 +00:00
Jouk Jansen
934960d133
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 14:39:47 +00:00
Václav Slavík
58fda45507
document that GetAttribute's argument must not be NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:29:23 +00:00
Václav Slavík
cc24bf9192
wxXmlNode::GetAttribute's pointer argument must not be NULL, check for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:09:06 +00:00
Robert Roebling
728ddc45e0
Reduce width and height of drawing ops by one in all vector printing backends
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 21:07:20 +00:00
Robert Roebling
ed8385818f
Fix various minor PS issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 20:42:32 +00:00
Robert Roebling
f62edb0ecd
Use line width code from GTK+ print in GNOME print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:44 +00:00
Robert Roebling
eb7637b587
Remove several hack from PS code, use high resolution code from GNOME print, invert Y axis internally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:09 +00:00
Robert Roebling
ab3a145407
Compilation with new dc code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 09:42:22 +00:00
Robert Roebling
d8416992be
reorganized wxSVGFileDC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 09:30:24 +00:00
Vadim Zeitlin
00a77b7c5d
added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 23:42:31 +00:00
Robert Roebling
ab171e9502
Converted wxGTK's basic DC classes to new DC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 11:27:41 +00:00
Vadim Zeitlin
fc1f568e23
don't define wxCRT_xxprintfW function if the corresponding xxprintfw() standard functions are not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 00:20:35 +00:00
Vadim Zeitlin
8cb1060f1e
revert last change (r48897)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 00:14:18 +00:00
Vadim Zeitlin
13f06c1bf0
include wx/log.h to fix PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 12:08:23 +00:00
Chris Elliott
6448dc217b
add missing sample stc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 11:10:12 +00:00
Robert Roebling
65dd9ae23c
Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 09:55:23 +00:00
Paul Cornett
640a91ab0b
use logical operator &&, not bitwise &; indentation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:51 +00:00
Paul Cornett
4c6a2a70dd
unused variables, useless assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:37 +00:00
Paul Cornett
0d8b0f94c0
unused variable, more efficient increment operator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:21 +00:00
Bryan Petty
1219a18740
Corrected doc typo (missing escaped underscore).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 01:30:48 +00:00
Vadim Zeitlin
489bf4ae93
ifconfig under NetBSD also takes -a
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 23:54:07 +00:00
Vadim Zeitlin
fd67d2658b
*wprintf() functions should be extern, not static, when we define them in wxNEED_WPRINTF case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 23:50:36 +00:00
Vadim Zeitlin
92ab7bed77
include tif_config.h using <> instead of ""
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 19:56:41 +00:00
Vadim Zeitlin
0272a10d2e
bring the new linpng 1.2.20 (without its contrib subdirectory) into trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:47:38 +00:00
Vadim Zeitlin
5e60a12a06
remove old libpng 1.2.7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:45:12 +00:00
Vadim Zeitlin
d0edb9da60
added more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose wxDynamicLibrary::GetSymbol() calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:43:51 +00:00
Vadim Zeitlin
22c1dcbb59
made gs_msgXXX variables static
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:31:09 +00:00
Vadim Zeitlin
6f9822faf4
allow using wxTaskBarIcon under Win95 by loading Shell_NotifyIcon() dynamically (more importantly, allow applications using to start up under Win95 as they didn't without it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:28:04 +00:00
Julian Smart
de414223ab
Doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:53:17 +00:00
Vadim Zeitlin
1032aee2d4
predefine _WIN32_IE before including shellapi.h too to allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:51:11 +00:00
Paul Cornett
9356b709aa
allow copying wxFormatString for compiler-generated temporaries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 16:04:24 +00:00
Vadim Zeitlin
15811f2f67
copy tif_config.h.vc to tif_config.h, this file will be used for all builds not using configure (for configure-based builds the file with the same name in the build directory will be used)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 15:04:16 +00:00
Vadim Zeitlin
24a39c0dd5
use libtiff/libjpeg VC-specific include files for all Win32 compilers, including mingw32 (and even when using configure which is wrong but will be fixed later)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 14:13:15 +00:00
Vadim Zeitlin
710b82f34d
removed extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:30 +00:00
Vadim Zeitlin
a9dce8897e
put __attribute__((deprecated)) before declaration and not after it as gcc seems to accept both and doing it like this allows to simplify wxDEPRECATED_INLINE() definition by using the same expansion for all compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:07 +00:00
Julian Smart
f07024ee6d
Corrected typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:35:31 +00:00
Vadim Zeitlin
a37c8e1cce
no changes, just a typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:34:03 +00:00
Julian Smart
1f5cd20ed5
Size of help window tabs reduced to prevent ugly overlap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:30:50 +00:00
Julian Smart
ed37526d66
Reverted unnecessary fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:44:59 +00:00
Vadim Zeitlin
0217cc6196
fix VC6 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:44:10 +00:00
Julian Smart
afd8770dec
Make SetFont actually do something
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:40:08 +00:00
Vadim Zeitlin
3694bb76c1
added wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun CC compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:34:32 +00:00
Vadim Zeitlin
f7e81ed1c2
make wxScopeGuardImplBase copy ctor public to avoid Sun CC warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:27:25 +00:00
Vadim Zeitlin
74ab5f5b9d
various warning fixes for icc 9.1 compilation
...
- variable shadowing
- unused code and variables
- extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:00:25 +00:00
Vadim Zeitlin
6908078e27
don't do anything before including the PCH header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:55:42 +00:00
Vadim Zeitlin
8c36c49496
don't do anything before including the PCH header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:53:23 +00:00
Vadim Zeitlin
4b4e81ee65
include vms_jackets.h directly from wx/platform.h instead of doing it before wx/wxprec.h as this breaks PCH usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:34:19 +00:00
Vadim Zeitlin
31c6672c66
fix icc warnings about shadowed variables and mismatching printf format
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:27:13 +00:00
Vadim Zeitlin
d494512913
functions not taking argument must be declared as (void) in C, not ()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:25:11 +00:00
Vadim Zeitlin
caf12a7917
removed wxEVT_POWER which wasn't declared nor used anywhere anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:22:02 +00:00
Robert Roebling
ca7db61eac
more work on wxDC reorganizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:59:21 +00:00
Vadim Zeitlin
faa80db058
removed an extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:56:58 +00:00
Vadim Zeitlin
309aefbd9c
don't shadow declaration of nIndex variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:54:21 +00:00
Julian Smart
24bd6cb9df
Optimized update events by only sending them to visible windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:51:31 +00:00
Vadim Zeitlin
523a54d953
use the lower-case version of the parameter in GetEndianness() as intended (thanks icc for the warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:51:14 +00:00
Vadim Zeitlin
c9bd045b24
check whether compiler supports visibility pragmas used for broken libstdc++ visibility workaround and don't use visibility at all if it doesn't (which is the case for icc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:50:13 +00:00
Robert Roebling
73862e49f4
Mention that DrawLines( wxList *) is deprecated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:39:03 +00:00
Julian Smart
a2dd2ea753
Corrected bug in in revision 47973
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:34:33 +00:00
Julian Smart
8b375198b7
Fix for wxLIST_STATE_SELECTED not being returned when calling GetItem[State]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 08:48:36 +00:00
Paul Cornett
5c15fb214e
wcstod seems to be more widely available than wcstof
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:48:56 +00:00
Paul Cornett
c222ad41b2
build fix for AIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:39:23 +00:00
Paul Cornett
8fd7108e7c
fix for HP and IBM compilers, calls to static template functions must be qualified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:39:08 +00:00
Vadim Zeitlin
043c67059f
allow the user to press Esc to close preview frame wherever the focus is, not only if it's on the canvas itself (patch 1719276)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 23:11:22 +00:00
Vadim Zeitlin
0edeeb6d96
use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with user-defined ids; bug fixes in wxMSW for negative menu and toolbar items ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:58:55 +00:00
Vadim Zeitlin
5bd01f2048
update from Antonio Cardoso Martins
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:22:04 +00:00
Robert Roebling
526e19e2d3
Patch from Bo for new selection API and impl. of GetColumnPos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 19:38:57 +00:00
Vadim Zeitlin
03cf4aa61d
apply XRCID() automatically to XRCSIZERITEM() argument (patch 1798697)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 16:29:05 +00:00
Vadim Zeitlin
564da6ff0b
fix round trip check in wxMBConv_win32::WC2MB() when the buffer size is 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 13:16:37 +00:00
Vadim Zeitlin
3cc3afeba0
Ukrainian translation update from Yuri Chornoivan
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:40:36 +00:00
Vadim Zeitlin
3ee6201fb8
added Portuguese translation from Antonio Cardoso Martins
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:20:45 +00:00
Vadim Zeitlin
b3adca1e98
remove extra colons and semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 10:23:20 +00:00
Vadim Zeitlin
1a8e8d694b
added missing wxUSE_RICHEDIT test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 10:22:09 +00:00
Paul Cornett
1ad9ba1462
fix HAVE_ macros not being converted to uppercase on Solaris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 02:06:04 +00:00
Vadim Zeitlin
d24f0fab26
build fixes for MSVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:16:14 +00:00
Vadim Zeitlin
4c1c25a778
rebake after libtiff changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:02:53 +00:00
Vadim Zeitlin
3442c078ad
build updates for libtiff 3.8.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:01:33 +00:00
Vadim Zeitlin
8414a40c52
import libtiff 3.8.2 into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:59:15 +00:00
Vadim Zeitlin
6854c3fccb
remove the old hybrid libtiff sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:51:55 +00:00
Robin Dunn
391e226e8b
Give wxPowerEvent wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:14:16 +00:00
Robert Roebling
261a9107f0
GTK+ selects the first item initially, II
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:55:24 +00:00
Robert Roebling
1d5a4d441b
GTK+ selects the first item initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:48:39 +00:00
Vadim Zeitlin
e5dd66e9d2
use update UI handler for the up and new directory buttons instead of manually updating the controls, this fixes a bug where up button wasn't enabled back after selecting a child of top level directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:24:05 +00:00
Vadim Zeitlin
e8548d99ac
use drives paths, not names, in the dialog to avoid confusing HandleAction() with the drive names which it fails to interpret properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:14:23 +00:00
Robert Roebling
af270b2773
Correct alphabetical order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:58:31 +00:00
Vadim Zeitlin
1db2c81b63
remove platform check, always compile this file as it's needed at least by the dialogs sample on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:47:27 +00:00
Vadim Zeitlin
8522a5458b
fix warning about int->bool conversion; wrap long lines to 80 columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:39:26 +00:00
Robert Roebling
fc694caa0a
Let wxListCtrl generate the context menu event itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:35:39 +00:00
Vadim Zeitlin
c5b8c66a84
use fabs() instead of abs() to fix mingw32 compilation (bug 1797589)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 10:12:11 +00:00
Vadim Zeitlin
385addaf21
shut down GDI+ from a module instead of doing it during static object destruction time when it may be too late (patch 1792915)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 01:02:16 +00:00
Vadim Zeitlin
b701f995b1
allow using wxSizerFlags with wxSizer methods adding spacers too (patch 1797272)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:45:31 +00:00
Vadim Zeitlin
e86882e38d
fix bug with deleting and recreating entries in wxFileConfig (patch 1796866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:41:55 +00:00
Michael Wetherell
8a2a5a449e
template class WXDLLIMPEXP_FWD_XRC wxVector<wxXmlResourceHandler *>;
...
instantiates as well as forward declares, which gives us multiple definition
link errors on some systems. So trying WXDLLIMPEXP_FWD_XRC on the declaration
of m_handlers instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 21:49:27 +00:00
Robert Roebling
90254df808
Rearrange code to fix some problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:43:17 +00:00
Robert Roebling
b29b9485f6
Correct setting of line width
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:09:12 +00:00
Paul Cornett
db885f2a99
return type for "grab-broken-event" is not void; remove some redundant conditionals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:51:07 +00:00
Julian Smart
cecf8eee83
Layout corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:15:38 +00:00
Vadim Zeitlin
88b9909d1a
fix for the last commit: reset the dummy wxRICHTEXT_DEFAULT_DROPTARGET pointer in dtor to avoid crashing when trying to delete it in the base class dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 12:06:46 +00:00
Vadim Zeitlin
00ceccee89
properly NUL-terminate the buffer returned by wxMBConv::cMB2WC()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 12:04:39 +00:00
Julian Smart
78cd9c69eb
wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
...
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 10:48:05 +00:00
Julian Smart
9bcc8016c1
Fixed compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 09:47:55 +00:00
Paul Cornett
260020e392
various small cleanups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 17:24:44 +00:00
David Elliott
f513aa78ee
Instantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 16:43:30 +00:00
Kevin Ollivier
39796bac00
Adding prototype script for creating a wx Mac framework from a configure-based wxPython build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 15:41:48 +00:00
Vadim Zeitlin
db51a209d7
fix compilation due to wxCmdLineEntryDesc changes once again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 14:37:12 +00:00
Robert Roebling
a9a56347b8
Always rearrange wxListBook and send out size event, otherwise scrollbar overlaps icons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 13:37:52 +00:00
Robert Roebling
7d61c83f40
compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 13:34:20 +00:00
Robert Roebling
cc681534ed
Don't compile with < GTK 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:56:51 +00:00
Robert Roebling
00ff24c81c
Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:17:12 +00:00
Vadim Zeitlin
16a6b53ddc
rename wxFileList to wxFileListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:01:00 +00:00
Vadim Zeitlin
d0007107fc
reverted accidental change to this file as part of rev 48732
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:52:56 +00:00
Julian Smart
f5dc1b7e49
Removed restriction that multiple centre panes can't be resized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:28:28 +00:00
Julian Smart
b78b6e887e
Added omitted variable copy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:26:08 +00:00
Julian Smart
cec713c729
Removed "not yet working" comment for --enable-universal_binary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:24:42 +00:00
Vadim Zeitlin
8e4b5265cd
declare wxVector<wxXmlResourceHandler *> as DLL-exported to avoid VC++ warnings in shared build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:40:10 +00:00
Vadim Zeitlin
9056c785dd
don't abbreviate 'control' to 'ctrl' (patch 1780280)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:32:57 +00:00
Vadim Zeitlin
3df485fd5b
define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined symbols in preprocessor conditions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:25:50 +00:00
Vadim Zeitlin
985acf8734
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:22:05 +00:00
Vadim Zeitlin
0cf3e587a2
added new and improved wxFileCtrl implementation (patch 1763164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Vadim Zeitlin
b4a11fe85c
don't access m_clientDataItemsType directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:12:13 +00:00
Vadim Zeitlin
efb35bebfa
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:53:16 +00:00
Vadim Zeitlin
a268f4b734
don't use NULL when we mean 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:40:08 +00:00
Vadim Zeitlin
868302f326
fix warnings due to use of WXDLLEXPORT on forward declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:27:06 +00:00
Vadim Zeitlin
131b1fba9d
fix access to client data of wxComboBox in wxUniv by virtualizing access to wxControlWithItems::m_clientDataItemsType
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:12:27 +00:00
Vadim Zeitlin
c4fd5ede54
include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 18:53:37 +00:00
Chris Elliott
1cffe60012
fix for VC6 sorry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:51:52 +00:00
Chris Elliott
9c9b12747f
fix for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:47:03 +00:00
Chris Elliott
8d5aff92f4
remove refernce to removed samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:29:30 +00:00
Vadim Zeitlin
22b6de6a70
more fixes for using wxSocket in console applications (patch 1756260)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 14:29:42 +00:00
Vadim Zeitlin
7ed0328efd
expand the table cells to fill the entire table width (patch 1722794)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Vadim Zeitlin
dbfa728a07
fix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:04:26 +00:00
Vadim Zeitlin
1fc5dc69fd
destroy the old clipping region before setting the new one (part of patch 1716763)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:57:01 +00:00
Vadim Zeitlin
99b4164c2c
removed apparent off by 1 bug in the end line calculation in ShowPosition() (part of patch 1716763)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:55:35 +00:00
Vadim Zeitlin
86909f4c89
added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:50:01 +00:00
Vadim Zeitlin
ebc9b89d52
use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:24:45 +00:00
Vadim Zeitlin
6dd25d20be
check whether clipping region is empty, not whether it's null; disable USE_PAINT_REGION which seems to be more harmful than useful (part of patch 1716763)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:52:02 +00:00
Vadim Zeitlin
ca86035f16
fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:43:03 +00:00
Vadim Zeitlin
86a41088fd
fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:35:18 +00:00
Vadim Zeitlin
f527e69e7c
corrected m_strings array creation broken by last changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:30:00 +00:00
Robert Roebling
7cec1c9e15
Implement wxWindow::SetFocusIgnoringChildren for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:06:22 +00:00
Vadim Zeitlin
c2e4537233
wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 21:23:19 +00:00
Robert Roebling
edddffb58b
Correct GetLabelItemRect to not include image (as per 2.8 branch)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 11:05:38 +00:00
Robert Roebling
9e86e5ca64
Remove redundant test later in keypress handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:31:38 +00:00
Robert Roebling
03a126c68c
Only send keypress events to focus widget, not its parents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:29:26 +00:00
Paul Cornett
63c95f2734
let GtkRange clamp scroll position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 02:58:14 +00:00
Vadim Zeitlin
20a0e99964
get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 01:09:01 +00:00
Vadim Zeitlin
0dd13d21cd
always NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input length, even if the input is not NUL-terminated (part of patch 1795174)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:36:16 +00:00
Vadim Zeitlin
a7b9ab6200
fix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug 1792727, part of patch 1795174)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:32:54 +00:00
Vadim Zeitlin
49297c840b
use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:18:56 +00:00
Vadim Zeitlin
cde9695427
always return positive pixel size, even for negative LOGFONT height values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:17:58 +00:00
Vadim Zeitlin
d16d0917e4
fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:16:58 +00:00
Vadim Zeitlin
e20d1329b5
undo revision 48162 as it broke unit tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:03:47 +00:00
Vadim Zeitlin
2452025c59
fix a couple of harmless warnings in MSVC build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:33:46 +00:00
Vadim Zeitlin
aa3b041ed7
fix wxCmdLineEntryDesc compilation after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:26:06 +00:00
Vadim Zeitlin
f3b84896e0
mention that support for reading alpha from TIFF images was added (rev 47204)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:22:07 +00:00
Vadim Zeitlin
0d5ab92f84
reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Robert Roebling
d32332aaf6
Implement wxDataViewCtrl::GetSortingColumn() and related code for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:18 +00:00
Vadim Zeitlin
7c77f33480
added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:09 +00:00
Vadim Zeitlin
cb626df225
fix unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:00:27 +00:00
Robert Roebling
dadc879e99
Implement and test _HEADER_RIGHT_CLICK event for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:36:19 +00:00
Robert Roebling
aed836f372
Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:30:05 +00:00
Robert Roebling
8d92a3e988
Forgot this one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:51:42 +00:00
Robert Roebling
041a0e26bb
Patch from Hartwig wrt SELECTION_CHANGE event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:50:35 +00:00
Vadim Zeitlin
e1079eda55
fix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 18:54:24 +00:00
Paul Cornett
64b9776ca6
scrolling windows need wx[HV]SCROLL style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:23:43 +00:00
Vadim Zeitlin
4ec4d8610a
added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:04:27 +00:00
Vadim Zeitlin
b7fe22610e
fix some harmless warnings (last two parts of patch 1779004)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:00:45 +00:00
Chris Elliott
c07bf3a93f
add missing sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 16:15:47 +00:00
Julian Smart
7e4fe193d1
Fixed caret sizing bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 12:18:50 +00:00
Robert Roebling
d86c187031
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 08:59:07 +00:00
Robert Roebling
ca06242be7
Fix ending label-editing bug when clicking elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 07:58:06 +00:00
Paul Cornett
1d59165194
remove m_blockScrollEvent from wxWindowGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:26:33 +00:00
Paul Cornett
301f696372
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:22:04 +00:00
Paul Cornett
00dc977232
more value updating fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:11:01 +00:00
Vadim Zeitlin
ebfc214808
use wxBORDER_NONE as border default for wxStatusBar: this generally makes sense and also fixes the display problem of the status bars under Windows when using themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 01:08:55 +00:00
Vadim Zeitlin
4ffb0f30f7
compilation fix after wxCmdLineEntryDesc changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 00:51:47 +00:00
Robert Roebling
6d9ecc870a
wxDataViewCtrl patch from Hartwig
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 21:23:48 +00:00
Vadim Zeitlin
abb88ef36b
remove the drag-and-drop compatibility hack for extracting the embedded size of the object from the beginning of data itself: this fixes bug 1791459 for the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 18:37:00 +00:00
Paul Cornett
f923b2930e
fix SetValue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 17:34:27 +00:00
Paul Cornett
a7060b8cae
non-pch build fix, indentation and whitespace cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 16:41:28 +00:00
Vadim Zeitlin
376b252c63
added attribution for wxSYS_DCLICK_TIME time change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 16:02:43 +00:00
Robert Roebling
4a783bb436
Use GTK_SPIN_BUTTON() not (GtkSpinButton*)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 14:36:32 +00:00
Robert Roebling
4a03bf0918
[ 1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 14:27:18 +00:00
Robert Roebling
453091c269
Add wxDataViewCtrl::GetColumnPosition() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 13:29:19 +00:00
Robert Roebling
21f47fb900
Add wxDataViewCtrl::GetSortingColumn() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:57:40 +00:00
Robert Roebling
b741dd400f
Patch from Hartwig (use new GetChildren() API)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:47:49 +00:00
Robert Roebling
8ab030012d
little change for Mac build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:41:36 +00:00
Robert Roebling
5cdcb78775
Third update patch for GTK+ print (correcting my device origin search-and-replace mistake)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:28:57 +00:00
Robert Roebling
4d1d071dae
Second update patch for GTK+ print (DrawBitmap fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:26:20 +00:00
Robert Roebling
da249bc359
First update patch for GTK+ print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:23:39 +00:00
Paul Cornett
05787cec0d
remove unused configure tests and macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 06:24:14 +00:00
Paul Cornett
73a790d8d5
epoll typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 05:42:42 +00:00
Paul Cornett
290cd3016c
get more accurate TLW sizing by using a window decorations cache
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 04:36:06 +00:00
Paul Cornett
7742ea6a6f
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 17:39:46 +00:00
Paul Cornett
a9047d859d
add wxUSE_TASKBARICON wrapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 16:48:41 +00:00
Vadim Zeitlin
765bdb4a1b
check that the conversion really succeeds even when wxMBConv_win32::WC2MB() is called with NULL buffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 00:39:21 +00:00
Vadim Zeitlin
e040a4ff2c
fix assert for bitmaps buttons created without bitmap initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 00:21:48 +00:00
Václav Slavík
479647105b
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Václav Slavík
eb2d0d232c
use wxVector<T> instead of wxList in wxXmlResource code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:26:39 +00:00
Václav Slavík
bc1d617aac
fix to make 'wxAtomicInt i = 0;' work with generic implementation and gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:15:16 +00:00
Václav Slavík
1f25eb3aa9
compilation fix after wxCmdLineEntryDesc changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:13:05 +00:00
Václav Slavík
630dad8cc1
added a test for wxAtomicDec return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:12:39 +00:00
Vadim Zeitlin
1c06345ab6
mention that NULL/"" changes also affect struct fields
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:04:26 +00:00
Václav Slavík
eb096b8eeb
compilation fixes for generic implementation of wxAtomicInt32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:52:02 +00:00
Robert Roebling
a931295073
Rewrote scaling for GTK+ print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:35:45 +00:00
Robert Roebling
6950be0111
Compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 16:41:16 +00:00
Vadim Zeitlin
bd5c396871
map wxFONTENCODING_ISO2022_JP to the correct Windows code page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 15:29:19 +00:00
Vadim Zeitlin
5681ec3dfd
fix a warning about casting literal string constants to non-const char *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:22:43 +00:00
Robert Roebling
32f34982cd
corrected some of 200 compile errors introduced by the latest global search and replace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:16:22 +00:00
Robert Roebling
02255e07d7
Rewrote scaling code for GNOME print backend. The inverted Y axis is now handled internally. Resulotion is not set to 600 dpi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:00:44 +00:00
Vadim Zeitlin
e1ef6b5da5
chop off the unwanted \r from GetLineText() return value for richedit 2.0 controls (patch 1780110)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 11:16:04 +00:00
Vadim Zeitlin
075946015d
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 10:51:12 +00:00
Vadim Zeitlin
ced3df7730
wxDL_XXX macros and dynamic loading cleanup:
...
1. Clearly document the wxDL_XXX macros; including their implicit usage
of m_ok member variable
2. Made sure they're used in the same way in all places they are used
(sometimes they were passed an object, sometimes a pointer, breaking
compilation: see patch 1791288)
3. Don't allocate wxDynamicLibrary objects on heap unnecessarily (which
removes the need to delete -- or leak, as it was -- them afterwards)
4. Some naming convention fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 10:49:55 +00:00
Vadim Zeitlin
d2175f3ecc
added wxApp::Set/GetAppDisplayName() (patch 1780414)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:27:23 +00:00
Vadim Zeitlin
9cf3d21870
added wxApp::Set/GetAppDisplayName() (patch 1780414)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:26:18 +00:00
Vadim Zeitlin
5595181f48
add wxSYS_DCLICK_TIME system metric constant; use it for the generic list control rename timer interval (patch 1782472)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:57:12 +00:00
Vadim Zeitlin
5bc3ef05b8
cache the result of wxGetOsVersion() (heavily modified patch 1783198)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:40:14 +00:00
Vadim Zeitlin
1d9473d33b
don't change locale in XRC GetFloat() method, change the strings to use the current locale decimal point separator instead (patch 1783849)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:24:43 +00:00
Vadim Zeitlin
2f3584b169
fix bug with mistakenly recognising 'wxdebug' as 'debug' and 'wxshared' as 'shared' (patch 1787101)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:45:58 +00:00
Vadim Zeitlin
4d5a1b0ab8
declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:39:11 +00:00
Vadim Zeitlin
6f6a69cb55
don't give spurious error message if non-empty status bar field style is specified in XRC (patch 1791037)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:32:44 +00:00
Vadim Zeitlin
5f77ee3b87
fixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:36:50 +00:00
Vadim Zeitlin
ad91e1ade0
fix gcc warnings about float/double to int conversion after the latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:34:01 +00:00
Vadim Zeitlin
2a7431e130
no changes, just added a comment explaining the issues involved in doing the conversion in place in wxCStrData::AsChar()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:05:20 +00:00
Vadim Zeitlin
28be59b4ad
return empty string, not NULL, from wxCStrData::AsChar() if conversion to ANSI fails for compatibility with wxWidgets 2 and std::string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 18:57:41 +00:00
Vadim Zeitlin
37ba70a520
added support for reading resolution information from TIFF, JPEG and BMP formats; corrected some bugs with saving resolution; added command allowing to see the image resolution (if available) to the sample (heavily modified patch 1790546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 18:32:36 +00:00
Robert Roebling
66e2ba91b2
Compile error (no idea why Mingw doesn't like wxPoint())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 18:08:14 +00:00
Vadim Zeitlin
0766270090
fix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces patch 1785191)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 11:37:01 +00:00
Vadim Zeitlin
f3955fdff6
added wxDirCtrl to the sample to allow testing of the file names dragging (based on patch attached to the bug 1775213)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 11:28:40 +00:00
Vadim Zeitlin
ab250e5c47
don't pass garbage to SetData() in wxURLDataObject::SetURL()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 00:32:56 +00:00
Vadim Zeitlin
4baf78001e
better document some of the incompatibilities introduced by the Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:47:52 +00:00
Vadim Zeitlin
42599b710d
change wxCmdLineEntryDesc::short/longName type to wxString for better compatibility with existing Unicode code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:41:56 +00:00
Vadim Zeitlin
a43bd048a3
fix unused parameter warning in wxSetEnv() in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:39:22 +00:00
Vadim Zeitlin
e6d4038a8b
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 21:47:45 +00:00
Vadim Zeitlin
066f3611df
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:34:56 +00:00
Vadim Zeitlin
a0fef35d6b
changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:32:16 +00:00
Vadim Zeitlin
fdbd123ef9
changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:31:55 +00:00
Julian Smart
b72812a640
Only write text colour if the colour is valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 14:16:07 +00:00
Robert Roebling
1d9fe50dc9
Patch to use high printer resolution instead of Cairo's 72dpi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 14:05:13 +00:00
Robert Roebling
4d5501cc75
minor corrections, made non-public API private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 13:17:55 +00:00
Robert Roebling
892434f06f
prevent double deletion of cairo lib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 07:40:38 +00:00
Robert Roebling
0187f0bcf4
wxDC::Clear() shouldn't do anything in printing DCs (I think)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 20:30:07 +00:00
Robert Roebling
cf509a9038
Removed run-time dependency on libpangocairo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:56:09 +00:00
Robert Roebling
fd220f13d4
Add Cairo to build, remove run-time dependency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:31:51 +00:00
Robert Roebling
d494613ac1
Make use of wxCairoLibrary from within wxGtkPrint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:24:59 +00:00
David Elliott
780220b099
Make a slider control created with a particular size/position adjust itself to the only size that works and adjust the positioning accordingly.
...
Implement the wxSL_AUTOTICKS style.
Patch from Mark Oxenham. Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 16:41:31 +00:00
Robert Roebling
50fae378f2
Add wxCairoLibrary (not yet built)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 14:04:47 +00:00
Robert Roebling
420db5a599
Move the wxDL_ macros to wxDynLibrary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:37:32 +00:00
Václav Slavík
c5288c5cfe
fixed wxString::FromAscii signature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:31:08 +00:00
Robert Roebling
c2331d9b50
Explain various printing backends in GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:28:37 +00:00
Robert Roebling
92fdffb272
Mention wxUSE_GTKPRINT define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:26:31 +00:00
Chris Elliott
89e704cf63
add missing timer.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 09:19:38 +00:00
Vadim Zeitlin
c8aa3d8017
fixed off by 1 bug in converting premultiplied DIB pixel values to non-premultiplied image ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 22:58:27 +00:00
Robin Dunn
4f696af8d6
Pass length including the null-terminator to cWC2MB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 22:53:29 +00:00
Robert Roebling
fa034c4511
Add support for GTK print, modified from patch 1782055
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 21:34:08 +00:00
Robert Roebling
9dac27ad48
Add force link for GtkPrint modeule (still commented out)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 19:49:41 +00:00
Robert Roebling
1ff62f51ba
Make wxGnomePrintModule public so that wxGtkPrintModule knows about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 19:26:46 +00:00
Robert Roebling
bd8a7646cf
Add GtkPrint detection code and configure switch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 18:55:18 +00:00
Robert Roebling
ead90b5f73
upport wxFileDataObject change for UTF8 handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 18:53:59 +00:00
Chris Elliott
88a37bc3d9
add missing ds? files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 08:41:30 +00:00
Julian Smart
79f955ec15
Corrected default background and text colours
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 18:54:59 +00:00
Julian Smart
03cd212405
Fixed URL saving/loading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 14:21:29 +00:00
Julian Smart
4b5ac600de
Always set the background colour for XP, for consistent toolbar backgrounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:47:05 +00:00
Julian Smart
23a081d436
Corrected a typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:23:42 +00:00
Robert Roebling
e0429715e2
correct scrolling of various GTK+ widgets such as GtkFrame (wxStaticBox)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:16:48 +00:00
Julian Smart
79176c652a
Apply the background fix only if the toolbar has controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 06:59:50 +00:00
Robin Dunn
70550b222c
a few more header files need to be installed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 02:54:46 +00:00
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
Robert Roebling
c59a09cfea
Minor correction, use wxCHECK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 10:28:51 +00:00
Robert Roebling
d92cb0154b
Fix from Bo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:47:01 +00:00
Robert Roebling
57f2a65292
Applied patch from Bo, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:32:43 +00:00
Robert Roebling
ef974c00e0
doc syntax corrections again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:05:42 +00:00
Robert Roebling
8cb475f139
doc syntax corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:04:04 +00:00
Paul Cornett
37cafc6af8
fix getting frame extents on 64-bit platforms, cleanup XGetWindowProperty code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 17:29:36 +00:00
Francesco Montorsi
eedb553a68
add small script which reports a list of the unused wx headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 14:39:35 +00:00
Robert Roebling
e887bad5f3
restored expanders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 08:35:26 +00:00
Julian Smart
b4ae0def64
Only show the context menu if the event belongs to this window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 08:22:12 +00:00
Vadim Zeitlin
429e2bb2fa
added Clone() method documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 20:47:54 +00:00
Vadim Zeitlin
bf6d45ebf6
don't overwrite the existing local file if we failed to open it but it does exist
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 20:40:33 +00:00
Paul Cornett
69562a1d4c
remove gtk_window_set_type_hint from GetTooltipColors, it's not necessary and GDK_WINDOW_TYPE_HINT_TOOLTIP is not available before GTK 2.10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 16:17:37 +00:00
Robert Roebling
405a351f3f
add test for custom in-place editor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 15:24:41 +00:00
Robert Roebling
29b25edaf9
correct constr's signature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 15:16:12 +00:00
Robert Roebling
8fdaf7de91
Minor correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:51:55 +00:00
Robert Roebling
afebb87be1
Patch from Bo for recent API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:48:29 +00:00
Julian Smart
6b54668b4f
Don't assert in update handler if read-only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 13:49:19 +00:00
Robert Roebling
91a6c65558
Move column organizing code to ports, away from common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:05:16 +00:00
Václav Slavík
b1a3a96499
fixed wxHTML parsing to run in O(n) even in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:04:11 +00:00
Robert Roebling
4f33a4dd4c
compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 09:32:00 +00:00
Paul Cornett
a5de860f0b
fix getting tooltip colors for GTK 2.11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 05:45:21 +00:00
Robert Roebling
e15c84ce24
documented Collapse() and Expand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 21:06:16 +00:00
Robert Roebling
f71d3ba46c
added Collapse() and Expand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 21:05:51 +00:00
Robert Roebling
d14e1c3a1a
test editing_started and _done events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 20:43:47 +00:00
Robert Roebling
a912e81f64
implement editing_started and _done events for GTK+ >= 2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 20:43:20 +00:00
Robert Roebling
e0000f9494
add editing_started and _done events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 19:44:04 +00:00
Robert Roebling
5bad300d22
correct label name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 19:12:26 +00:00
Robert Roebling
1b27b2bd2b
Set/GetExpanderColumn() should use wxDataViewColumn, not unsigned int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:28:56 +00:00
Robert Roebling
07c51ff1fa
Hartwig's patch for OS X implementation of wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:15:16 +00:00
Robert Roebling
b74077ace2
Correct signature of HitTest()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:01:06 +00:00
Robert Roebling
a87b466df3
Correct signature of HitTest()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:00:32 +00:00
Robert Roebling
fbda518cb7
Minor API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:21:52 +00:00
Robert Roebling
daf5b37afd
Use const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:15:22 +00:00
Robert Roebling
e0976f6db3
Use const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:09:32 +00:00
Robert Roebling
d19d8941c6
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:57:42 +00:00
Robert Roebling
6bb29886cb
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:56:05 +00:00
Robert Roebling
d0b6742169
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:55:17 +00:00
Robert Roebling
61cec318da
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:54:36 +00:00
Robert Roebling
1f0412088d
add wxVector docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:26:01 +00:00
Robert Roebling
677ab4a566
add wxVector docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:21:49 +00:00
Robert Roebling
44f2a3d1c8
add wxVector docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:21:38 +00:00
Robert Roebling
d8fcdf973f
remove _ from labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:01:49 +00:00
Robert Roebling
93fd94eb1a
should use wxDataViewColumn to indicate a column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:45:02 +00:00
Robert Roebling
4f76c1a23a
document wxDataViewItem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:42:28 +00:00
Robert Roebling
f5f688eddd
Make ::SetValue return a bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:32:20 +00:00
Robert Roebling
8d2b3fc374
don't use <listimpl.cpp> (problems under Mac?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 08:43:47 +00:00
Václav Slavík
f9bf06acda
VC6 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-23 12:40:32 +00:00
Vadim Zeitlin
a220ccb313
added ISO-2022-JP encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:46:01 +00:00
Robert Roebling
7274390ff1
correct copyright
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:37:46 +00:00
Robert Roebling
0bd2681966
Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare function usable without and column (header)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:18:06 +00:00
Václav Slavík
04e7692af1
VC6 compilation fix for _WX_VARARG_FORMAT_STRING macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 20:07:11 +00:00
Václav Slavík
ed12c5a22c
another Watcom compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 19:07:00 +00:00
Václav Slavík
941a4e6260
replace wxStringToIntType<T> with a macro to make Watcom compile the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 19:06:31 +00:00
Václav Slavík
1f5df26884
Watcom compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 18:15:23 +00:00
Václav Slavík
bb809a9a80
compilation fixes after introduction of wxprintf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:22:28 +00:00
Václav Slavík
3c47c04740
use wxVector<T> instead of OBJARRAY macros for wxHtmlTextPieces (slightly better performance)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:21:46 +00:00
Václav Slavík
90adb9041c
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:19:06 +00:00
Václav Slavík
cb979a71de
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:18:31 +00:00
Václav Slavík
91a5e00c75
--enable-iniconf and --enable-regkey aren't GUI-only options
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:11:12 +00:00
Julian Smart
0d4ba4ef64
Corrected wxAccess arg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:55:32 +00:00
Václav Slavík
d501d4ef2a
added wxUSE_REGKEY checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:49:41 +00:00
Julian Smart
55339e8cb8
Blind fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:49:38 +00:00
Robert Roebling
c7074d4419
Let various AppendXXXColumn helplers return the column created within
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:39:32 +00:00
Robert Roebling
cd722937d8
minor change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:14:57 +00:00
Robert Roebling
40196b1e27
Don't always sort array containing item, just upon request. Solves several problems and crashes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:02:39 +00:00
Václav Slavík
7d46f92bb0
compilation fix for UTF8+STL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 11:30:10 +00:00
Julian Smart
2b2883a5eb
Applied [ 1767537 ] [wxOS2]Watcom build - filefn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:41:32 +00:00
Václav Slavík
1774c3c535
made UTF-8 tables const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 09:30:40 +00:00
Václav Slavík
ac2d749e88
optimize wxStringOperationsUtf8::DecodeChar() for the ASCII case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 09:24:56 +00:00
Václav Slavík
7da48d4928
don't derive wxHtmlTag and wxHtmlTagsCache from wxObject, it's useless
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 08:46:01 +00:00
Václav Slavík
4f7e8fda39
rewrote wxHtmlEntitiesParser::Parse() using iterators, optimized for the common case of no entities in the input
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:18:12 +00:00
Václav Slavík
c471f7e18f
slight optimization for wxHtmlEntitiesParser::GetEntityChar() in UTF-8 build: use wx_str() instead of c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:17:24 +00:00
Václav Slavík
95ebbfe1fd
fixed wxHtmlParser::SkipCommentTag() to run the initial test in O(1) instead of O(n) in UTF8 build, makes big difference for large HTML files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 05:45:11 +00:00
Julian Smart
2d615fe933
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 17:19:33 +00:00
Julian Smart
05962bdd2b
Compile fix on Mac (at least)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 17:03:45 +00:00
Julian Smart
18b40f3022
Avoid selecting/updating in destructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:56:39 +00:00
Julian Smart
5bcdf503fa
Test to avoid crashes in some circumstances
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:48:55 +00:00
Vadim Zeitlin
d545bdede6
Fix bug with assigning a part of the string to the same string
...
The fix has several parts:
1. don't free the old string data in ConcatSelf() if we use it as
source
2. implement assign() using replace() rather than clear() + append()
3. fix replace() to work with replacement strings containing embedded
NULs and optimize it by using memcpy() instead of byte-wise copy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:45:41 +00:00
Vadim Zeitlin
61a11cd6fa
don't limit the multiple choice dialog size to 300x200 pixels on big screens, this doesn't make sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:42:17 +00:00
Václav Slavík
4fe7567d90
use wxVector<T> instead of homegrown growing array in wxHtmlTagsCache
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:10:28 +00:00
Václav Slavík
4e57034053
more wxVector<T> tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:51:52 +00:00
Václav Slavík
0516de2cdb
1. fixed wxVector<T> iterators to actually point to what they're supposed to point to instead of crashing on any use
...
2. don't allocate memory for every element on the heap, store elements directly in the array instead of storing pointers to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:47:47 +00:00
Julian Smart
b667edaecd
_get_timezone not available on Pocket PC 2003
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:10:14 +00:00
Francesco Montorsi
5ffb4b0865
removed double docs for GetBitmapSelected and SetBitmapSelected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:58:26 +00:00
Francesco Montorsi
e5dfb37831
fixing missing comma
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:57:52 +00:00
Francesco Montorsi
58fd7634cf
removed double docs for wxAuiNotebook::GetTabCtrlHeight
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:23:07 +00:00
Francesco Montorsi
809e21b540
added missing \wxheading{Members} sections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:20:28 +00:00
Francesco Montorsi
245b9db518
removed empty dtor \membersections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:18:04 +00:00
Julian Smart
e6cfcc0df2
Applied patch [ 1776951 ] wxSizer::GetContainingWindow fails for nested sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:08:26 +00:00
Julian Smart
791b07a345
Revised timezone fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:57:11 +00:00
Julian Smart
44061d3629
APplied patch [ 1776062 ] wxWinCE 2.8.3 (dynamic) VS 2005 - _timezone problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:30:35 +00:00
Julian Smart
135d1ad065
Applied patch [ 1764987 ] fix localtime link error using wm5 SDK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:14:09 +00:00
Robert Roebling
b46ea7825d
use live header button update when resizing, no XOR line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:59:52 +00:00
Julian Smart
a4c721ee38
Applied patch [ 1736135 ] AUI: Clicking caption ignored on centered panel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:15:09 +00:00
Julian Smart
858a3a7a45
Applied [ 1708971 ] Make a virtual function to enable/disable docking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:04:48 +00:00
Václav Slavík
6757b667fd
added test for wxVector<T> iterators (fails miserably)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:59:57 +00:00
Václav Slavík
9cf3337215
re-added wxVector<T>::erase(size_t) for backward compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:59:42 +00:00
Robert Roebling
c280da6918
Remove redundant line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:52:39 +00:00
Julian Smart
134198f1b7
Applied patch [ 1747059 ] wxAUIDefaultTabArt wxAUI_NB_BOTTOM
...
Langhammer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:51:47 +00:00
Robert Roebling
36a03ed8c3
Removed gaps between header buttons and the strange header offset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:48:43 +00:00
Václav Slavík
fbbdc7bf85
use wxString's UTF8 methods in wxCocoa, it's slightly more efficient in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:40:36 +00:00
Julian Smart
198be84589
Applied patch [ 1701723 ] wxAUI: Added event for doubleclicks on the tabbar bg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:37:23 +00:00
Julian Smart
4d83610edf
Applied patch [ 1678412 ] handling non-existent panes and uninitialized sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:18:44 +00:00
Julian Smart
d61989a7de
Removed unnecessary code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:06:15 +00:00
Julian Smart
d92f353ce9
Applied patch [ 1675084 ] wxAUI - Added events to be notified after drag and close
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:55:48 +00:00
Julian Smart
ab620250da
Fixed [ 1645203 ] Problem with resizing floating panes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:35:14 +00:00
Julian Smart
89272c55ca
Applied patch [ 1768229 ] auibook.cpp: Fix undefined reference if wxUSE_MDI == 0
...
Tim Kosse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:14:11 +00:00
Julian Smart
1c0955dd36
Fixed wxTabFrame leak by deleting all pages in the dtor (fixes bug [ 1774394 ] wxAuiNotebook::AddPage Memory Leak)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:05:14 +00:00
Julian Smart
3d9b52a808
Applied patch [ 1777700 ] call Reparent() from wxAuiNotebook::InsertPage()
...
(Fixes bug [ 1769662 ] wxAuiNotebook::InsertPage() does not change page parent)
Applied patch [ 1777713 ] wxAuiNotebook::InsertPage() - properly update m_curpage
(Fixes bug [ 1769655 ] wxAuiNotebook::InsertPage() leads to inconsistent state)
From Andrey Yazhuk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 07:41:42 +00:00
Kevin Ollivier
18f2ae4965
Fix for wxMemoryDC::GetAsBitmap() not working on Windows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:26:35 +00:00
Václav Slavík
278d7ab446
the wxFormatString hack used in wxFileTypeInfo variadic ctors doesn't work anymore, replaced with something that does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:16:02 +00:00
Robert Roebling
bec7b402c4
Removed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 22:30:16 +00:00
Robert Roebling
1ab4aff273
Updated docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 22:29:18 +00:00
Václav Slavík
c782096417
don't recompute nonbreakable space character every time a text fragment is added in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 20:24:22 +00:00
Václav Slavík
96d665d249
marked const wxHtmlEntitiesParser methods as such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 20:08:40 +00:00
Václav Slavík
4734640692
fixed variadic templates in the case when char value is passed in place of (e.g.) %i or %d argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 19:20:10 +00:00
Robert Roebling
66e09788ab
Patch from Bo, adapt generic code to new API, add GetItemRect and HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 17:26:11 +00:00
Václav Slavík
628f87da56
added wxUTF8StringBuffer for writing UTF8 data into wxString efficiently, similarly to existing wxStringBuffer classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 15:19:15 +00:00
Robert Roebling
4f1cf94b94
Make wxDataViewItemArray more efficient
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:51:15 +00:00
Robert Roebling
cb367500d1
Added STL API to wxList docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:32:02 +00:00
Václav Slavík
74374c9ecd
Vadim's new test broke subsequent asserts, fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 12:30:06 +00:00
Vadim Zeitlin
c8f313b256
added tests demonstrating a bug in wxString::assign(itself)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 10:38:22 +00:00
Robert Roebling
6848478c72
Implement selection API and events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:57:13 +00:00
Robert Roebling
a84c5b6feb
Implement ...COLUMN_SORTED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:18:22 +00:00
Václav Slavík
968454db03
compilation fix for broken libstdc++ visibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:16:30 +00:00
Robert Roebling
6154212e51
Change EnsureVisble() to including column parameter, implemented it for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:44:34 +00:00
Václav Slavík
6798451bb2
renamed wxImplStringBuffer to wxStringInternalBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:24:50 +00:00
Robert Roebling
718fd18080
Implemented and tested EXPANDED etc events for wxGTK and in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:20:24 +00:00
Robert Roebling
6977c3bf4d
Added EXPANDING and COLLAPSING events for the user to veto
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:42:17 +00:00
Robert Roebling
e98351eca9
Made wxGTK wxDataViewCtrl compile again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:11:34 +00:00
Vadim Zeitlin
86e37f69bc
fix generation of events from SetValue() broken in rev 46611
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:05:56 +00:00
Robert Roebling
b7e9f8b136
Bo's patch adding Selection API and some more changes, doesn't compile yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:03:01 +00:00
Francesco Montorsi
0c6fcb099e
added wxSVGFileDC docs to main chain
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:41:13 +00:00
Francesco Montorsi
ab97173392
added missing \wxheading{Parameters}
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:35:33 +00:00
Francesco Montorsi
2706e543a6
fixed doc wrong position of \wxheading{Library}
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:35:10 +00:00
Robert Roebling
d209a914d2
Forgot a line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:24:15 +00:00
Robert Roebling
3ecb8a5365
Added ITEM_EXPANDED and ITEM_COLLAPSED
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:16:29 +00:00
Robert Roebling
7ee7191cee
change wxDataViewModel::Compare() to including column and sortorder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:12:52 +00:00
Václav Slavík
10d1a99617
use UTF8 build by default on Unix (except Darwin)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 10:16:30 +00:00
David Elliott
6ebbf01f47
Make SetCursor work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 04:01:13 +00:00
David Elliott
ea29564c40
Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 03:25:17 +00:00
Kevin Ollivier
893727e58a
Add the unified style on OS X 10.4, and default to using it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 21:49:27 +00:00
Julian Smart
a701b45539
Added documentation for wxNavigationKeyEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 13:04:41 +00:00
Julian Smart
253170d634
Don't hang in ReadLine when there's no input left
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 12:25:23 +00:00
Julian Smart
9a9c35d32c
Use new GetItemLabel function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:43:25 +00:00
Julian Smart
5bf3f27fc9
Avoid clash with control container event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:45 +00:00
Julian Smart
1c1ad00573
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:16 +00:00
Julian Smart
b9d30e5f8f
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:26:24 +00:00
Julian Smart
c7bfb76a2c
A number of focus handling improvements:
...
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00
Julian Smart
927f01da61
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:47:42 +00:00
Kevin Ollivier
dcd79bff8c
Implement GetCountPerPage, and fix a bug where we don't check for the state mask before altering selection state.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 06:23:02 +00:00
David Elliott
18b32eb5b5
Improve the tracing of the tracking rect manager and mouse movement synthesizer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:39:32 +00:00
David Elliott
1f361be22f
Change kCFRunLoopBeforeWaiting to kCFRunLoopExit when setting up the run loop
...
observer for synthesized mouse moved events and add a lengthy comment
explaining the reason for the change.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:05:40 +00:00
David Elliott
32660a06c5
Keep the stock cursors in an array so that constructing a cursor with a stock
...
cursor ID will effectively result in a copy sharing the same ref data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 18:11:20 +00:00
Robert Roebling
7d2beb15bb
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 10:50:44 +00:00
Vadim Zeitlin
5c92385e69
added a tech note explaining how to write a new XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:12:10 +00:00
Vadim Zeitlin
c7db82dced
add XRC handler for wxSearchCtrl (extended patch 1751516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Robert Roebling
b8b7b08777
removed Set/GetSortAscending from wxDataViewModel and move into wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 20:53:54 +00:00
Julian Smart
754dc40969
Implemented Firefox-like behaviour whereby clicking again on a tab focuses the tab, but otherwise the focus goes to the page itself.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:25:50 +00:00
Julian Smart
e2125bdc32
Mac fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:05:32 +00:00
Robert Roebling
4b859ff461
compile with GTK < 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 18:31:11 +00:00
David Elliott
8ea3a63ea9
Use one run-loop observer for all synthesis of mouse moved events instead of a separate observer for each view.
...
Actually check the last mouse position and don't send synthesized events if the mouse hasn't moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:44:11 +00:00
Julian Smart
a0c2e4a050
Added AdvanceSelection, ShowWindowMenu and keyboard handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:12:45 +00:00
Julian Smart
974dc0de12
Added missing argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 14:03:17 +00:00
Julian Smart
6d78998725
Added DrawFocusRect to wxRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 12:15:15 +00:00
Vadim Zeitlin
4346581b7c
fixed TeX error introduced in rev 48093 (sorry)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:27:25 +00:00
Vadim Zeitlin
7738af5957
relinquish the mouse capture when a dialog is about to be made modal to ensure that the mouse can be used in it (patch 1754648)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:01:30 +00:00
Vadim Zeitlin
b1294ada8e
make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:31:06 +00:00
Julian Smart
f31bbefd10
Bring back double border
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:30:17 +00:00
Julian Smart
a7dbf7c8bc
Removed double border style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:29:53 +00:00
Vadim Zeitlin
56601ff2db
added ReadType convenience functions (patch 1764160)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:23:01 +00:00
Vadim Zeitlin
bc1dab7e1f
include wx/msw/winundef.g instead of writing just a subset of #undefs in wx/defs.h itself (patch 1774707)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:17:49 +00:00
Vadim Zeitlin
e9f8a82ec7
uncomment the change which was meant to be committed the last time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 18:38:36 +00:00
David Elliott
e7e1ad7d93
Add support for uniquifying to all wxCocoa Objective-C classes.
...
Patch from Mark Taylor.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:10:19 +00:00
Julian Smart
3ac1094bea
Regenerated makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 15:56:41 +00:00
Václav Slavík
d6694e1017
removed outdated comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 15:28:30 +00:00
Vadim Zeitlin
f55c979a00
use correct WXDLLIMPEXP macro for friend declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:30:25 +00:00
Vadim Zeitlin
7376079d09
corrected the 'Derived from' sections using the script from the patch 1765640
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:27:12 +00:00
Vadim Zeitlin
eaa785079c
added a script to automaitcally fix 'Derived from' doc sections; updated the 'Library' sections script to be able to run it on files already having these functions (patch 1765640)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:23:47 +00:00
Vadim Zeitlin
8e190f0ed9
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry (modified patch 1767478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:19:31 +00:00
Vadim Zeitlin
0b62d38796
don't enable previously checked button in a radio group (patch 1767481)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:13:43 +00:00
Vadim Zeitlin
e660f922f6
don't assert when ExpandAll() is called on hidden root item (fixes 1765566, replaces patch 1768282)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:09:19 +00:00
Vadim Zeitlin
bcac816123
no changes, just fix typos in comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:06:02 +00:00
Václav Slavík
8da116cf66
wxCocoa compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:05:35 +00:00
Vadim Zeitlin
27539df82b
fix clipping box retrieval (patch 1771199)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:00:30 +00:00
Vadim Zeitlin
becac1ef57
added wxToolTip::SetAutoPop() and SetReshow() (patch 1768804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:57:36 +00:00
Vadim Zeitlin
c267759c8f
don't use deprecated wxMenuItem methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:53:59 +00:00
Vadim Zeitlin
ca6328c44e
use correct WXDLLIMPEXP macro for forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:45:41 +00:00
Vadim Zeitlin
511383f91b
fix wrong clear selection (modified patch 1763916)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:52:13 +00:00
Vadim Zeitlin
6d7aee4f47
include wx/datetime.h, it's not always included from the other headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Vadim Zeitlin
f8efd2dfff
set the correct properties for the source files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:43:32 +00:00
Vadim Zeitlin
1722a3f626
added missing headers (patch 1774617)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:40:39 +00:00
Vadim Zeitlin
5573f5b828
fix incorrect wxSYS_VSCROLL_X mapping to the Win32 constant (replaces patch 1770501)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:38:07 +00:00
Vadim Zeitlin
48271822ef
use one shot timers in wxAnimationCtrl (patch 1774535)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:36:50 +00:00
Vadim Zeitlin
225dfbc517
added wxConvertTo/FromIeeeExtended() synonyms for ConvertTo/FromIeeeExtended() and deprecated the latters; also added missing dll export declarations for them (patch 1772233)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:07:13 +00:00
Vadim Zeitlin
de38156422
don't set incorrect initial value of '0' for the bool cell (replaces patch 1774557)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 10:43:41 +00:00
David Elliott
4f46c20bc4
Further simplificiation of the NSSlider/wxSlider interface such that the
...
various responder methods don't change the controls action but instead send
all actions through the normal wxCocoaNSControl action handling mechanism.
To determine what caused the action we save the message selector in a global
variable (safe since Cocoa does single-threaded event handling).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:12:44 +00:00
Vadim Zeitlin
71e33cfbbd
no real changes, just some cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:44:44 +00:00
Vadim Zeitlin
39f0cb547f
added wxTaskBarIcon::Destroy()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:43:39 +00:00
David Elliott
03859c918c
Fix the top-level window client size setting code such that the window position does not change as seen by wxWidgets.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:38:32 +00:00
Vadim Zeitlin
731eee9af2
rename WX_VERSION_FULL back to WX_VERSION
...
WX_VERSION was renamed to WX_VERSION_FULL for some reason in rev 44731 but
this was a backwards incompatible change as the existing configure scripts
could (and did) use WX_VERSION, so undo this change, at least until someone
finds a worthy reason for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:28:44 +00:00
Vadim Zeitlin
f2b1c98a00
use decho, not echo, to output error messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:26:26 +00:00
Vadim Zeitlin
a8571f4e02
don't use the extra libraries in wx-config --version invocation as this now (correctly) results in errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:21:29 +00:00
Vadim Zeitlin
a9c64a1b2e
check for wxUSE_ACCESSIBILITY not being set to 1 under non-MSW platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 21:31:26 +00:00
David Elliott
6c67fde0b8
Install wx/cocoa/objc/objc_uniquifying.h for wxCocoa and add a usage note
...
to the header.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 20:39:50 +00:00
Julian Smart
5a617be899
Added documentation for wxBORDER_THEME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:35 +00:00
Julian Smart
3cc305b2b4
Added periods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:04 +00:00
Julian Smart
8c56ac8330
Fix for non-appearance of themed border with wxTE_RICH if size passed to the constructor and then not changed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 07:26:59 +00:00
Václav Slavík
e17206f71b
wxMac compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 22:06:26 +00:00
Václav Slavík
a4535b9f39
don't attempt to convert 8bit values to Unicode in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:48:58 +00:00
Václav Slavík
b9d4eff64f
check for HAVE_VISIBILITY first when setting WXIMPORT/WXEXPORT; only set it on platforms where it makes sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:36:14 +00:00
Václav Slavík
8105182945
compilation fix for wxString::Format("no variadic arguments") and VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:56:09 +00:00
Julian Smart
4fcbc84d65
Documented new menu label functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:18:32 +00:00
Robert Roebling
194027acb3
Applied Hartwig's implementation of OS X wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:56:28 +00:00
Julian Smart
967d3d9783
Use new function GetItemLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:35:30 +00:00
Julian Smart
c4e43bea7b
GetLabelTop should return the stripped label, for compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:32:08 +00:00
Julian Smart
9c895994db
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:59:56 +00:00
Václav Slavík
99fda03aa3
Mingw compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:43:44 +00:00
Julian Smart
a738f87cae
Add accelerator back to label in GetItemLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:43:39 +00:00
Julian Smart
387c7b3eef
Removed a misleading comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:02:25 +00:00
Julian Smart
aa1b2573f3
Added XRC handler for wxPropertySheetDialog (Sander Berents)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:04:31 +00:00
Julian Smart
22e97d4cbe
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 10:26:10 +00:00
Julian Smart
94f6d685cb
Preserve original menu label for later retrieval
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 22:09:20 +00:00
Václav Slavík
f06a1f33f1
fixed wxStringTokenizer to correctly handle wxTOKEN_RET_DELIMS after the recent change to use iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 19:17:14 +00:00
Julian Smart
84c5131950
Menu fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 19:07:41 +00:00
Julian Smart
68bc148cac
Compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 18:39:49 +00:00
Julian Smart
808260ec32
Small fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 18:02:36 +00:00
Julian Smart
52af3158e9
Menu label consistency changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 17:54:59 +00:00
Václav Slavík
afb6a92fee
added missing export declarations for wxGTK internal functions needed outside of wxCore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 12:18:34 +00:00
Václav Slavík
be3dc3318b
added missing export declarations for wxGTK internal functions needed outside of wxCore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 12:03:37 +00:00
Vadim Zeitlin
8e2701ea8a
use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT in forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 11:46:29 +00:00
David Elliott
4a7ebfc1f2
Use wxLogStdErr in preference to wxLogGui on wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 01:28:42 +00:00
David Elliott
72ee73c196
Don't needlessly indirect through NSNotificationCenter.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:28:07 +00:00
David Elliott
605497ce5b
Use SetNSSlider instead of SetNSView so that the WXNSSlider (Objective-C) gets associated with the wxCocoaNSSlider (C++) via the hash map and events actually work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:14:07 +00:00
David Elliott
90f6792f53
Fix up NSSlider code to not use class posing and instantiate the proper type (now WXNSSlider) from slider.mm.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:12:06 +00:00
David Elliott
d89e391b21
Return something halfway reasonable from GetCharWidth/GetCharHeight because the generic log dialog divides by GetCharWidth which doesn't work so well when it's zero.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:03:05 +00:00
David Elliott
0ddf669fc9
Set the svn:keywords property to Id on the new files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:28:36 +00:00
David Elliott
8d18e3653e
Attempt to fix RCS-ID tags so svn will fill them in.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:26:10 +00:00
David Elliott
ddac39da93
Major wxCocoa wxSlider overhaul from Mark Oxenham.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:25:08 +00:00
David Elliott
715b3df02f
Tell NSTextField to send us its action message and respond to it so we can generate wxEVT_COMMAND_TEXT_ENTER.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 18:40:56 +00:00
Julian Smart
7d3e8dce7b
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:48:14 +00:00
Julian Smart
6da8eee196
Don't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with gtk 2.11.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:05:20 +00:00
David Elliott
bd5554212e
Fix wxScrollBar initial size to match the limited sizes that Cocoa allows.
...
Author: Mark Oxenham
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 05:04:39 +00:00
David Elliott
15f3714795
Implement transformation between the wxDisplay coordinate system and the Cocoa screen coordinate system.
...
Use this to fix TLW initial positioning/sizing (including wxTopLevelWindow, wxFrame, and wxDialog)
Use this to implement wxWindow::DoScreenToClient and DoClientToScreen
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 04:40:33 +00:00
David Elliott
e82b00a76d
Remove virtual from the newly added Create methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:07:07 +00:00
David Elliott
d381b7dfdd
Add wxBitmap constructors and Create methods to allow creating a wxBitmap from an NSBitmapImageRep or NSImage instance.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:05:51 +00:00
David Elliott
dc834029a3
Add Objective-C uniquifying to WXNSWindow and WXNSPanel
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 18:15:50 +00:00
David Elliott
fe8402e653
Implement wxBU_LEFT/wxBU_RIGHT styles.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:30:51 +00:00
David Elliott
9cce71a0f9
Implement wxStaticBitmap.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 16:53:32 +00:00
Julian Smart
c118d8b06e
Gave toolbars some extra height, Without which DoGetBestSize can report a size that's
...
smaller than the actual window, causing windows to overlap slightly
in some circumstances, leading to missing borders. Removed a hack in AUI to
adjust for wrongly reported size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:08:50 +00:00
Julian Smart
4c0d2cd3d0
Toolbars shouldn't have themed borders
...
Made it easier to switch off theme borders in wxWindow if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:05:56 +00:00
Vadim Zeitlin
e09200046e
remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 23:34:14 +00:00
Václav Slavík
e5eaf55744
fixed visiblity attribute warnings in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 21:55:22 +00:00
Václav Slavík
cae92a4988
VC6_WORKAROUND -> WX_LIST_VC6_WORKAROUND to prevent name conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 21:26:32 +00:00
Julian Smart
6f3f9b50aa
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
...
Moved wxControl::GetBorderStyle into wxWindowMSW::GetBorderStyle
but added GetBorderStyle to have the same behaviour as before (so e.g.
notebook panels don't get borders)
Improved help window borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:39:56 +00:00
Julian Smart
f196316400
Compile fix (VC++ 6 doesn't like wxString::Format with only 1 arg: gives several pages of template-related warnings)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 11:53:13 +00:00
Julian Smart
bbf941bda9
Removed minifram
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 11:22:45 +00:00
David Elliott
e2b497f7a6
Implement the wxST_NO_AUTORESIZE style for wxStaticText.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:34:15 +00:00
David Elliott
c59112bba5
Translate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:25:57 +00:00
David Elliott
5b70207eb4
Use static wxControl::GetLabelText in preference to wxStripMenuCodes with the wxStrip_Mnemonics flag for readability.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:05:48 +00:00
David Elliott
afa292ff31
Select the first choice in the radiobox upon creation for parity with other ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:17:36 +00:00
David Elliott
94a2af7672
In wxNotebook::Create setTabViewType based off of wxNB_TOP/LEFT/RIGHT/BOTTOM flags if given.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:06:53 +00:00
David Elliott
022a8d0284
Return true in wxSetEnv for unsetenv case.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 01:37:06 +00:00
Vadim Zeitlin
65fd2fc261
correction to last commit: don't test unsetenv() return value, it's void under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:39:29 +00:00
Vadim Zeitlin
a1353ea496
use unsetenv() instead of setenv(var, NULL) which is invalid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:29:07 +00:00
David Elliott
3c0f8ed250
Implement wxRadioButton Get/SetLabel methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:26:08 +00:00
Robin Dunn
e6d0599dc7
tweak the size and layout of the cancel button a bit so it doesn't get clipped.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:44:02 +00:00
Francesco Montorsi
5608bce45d
added first version of wxStyleTextCtrl|Event docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:37:54 +00:00
Václav Slavík
34b340a08e
the Ubuntu visibility bug only happens when building shared libraries on some systems, use -shared when testing for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:13:11 +00:00
Francesco Montorsi
f5ca194a78
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:00:14 +00:00
Vadim Zeitlin
7d36417da1
don't include wx/wxprec.h from headers, it's bad style (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 20:33:48 +00:00
Julian Smart
1e990633f8
Clean up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:25:45 +00:00
Julian Smart
a047aff270
Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
...
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample
also now demonstrates correct borders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:22:43 +00:00
Julian Smart
e081b01f4d
Compile fix for VC++ 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 13:55:12 +00:00
Julian Smart
a8505db0fa
compile and warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 13:50:44 +00:00
Chris Elliott
7305bbf0ac
put constant in define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 08:56:16 +00:00
Vadim Zeitlin
ecac5b81f8
remove tests for Mac Rez and SetFile which are also already done by bakefile; restore assignment to RESCOMP which was removed by last commit but which bakefile doesn't set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 01:38:18 +00:00
Vadim Zeitlin
ebda9490d0
don't test for things which bakefile already tests for (STRIP, RANLIB, INSTALL, WINDRES, ...); don't chech for VPATH support in make at all as we don't use it any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 01:23:34 +00:00
Václav Slavík
5e3c3fc9b8
WXIMPORT must specify default visibility too, otherwise things like typeinfo may break subtly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:53:24 +00:00
Václav Slavík
1a2fe0cbea
fixed incorrect DLL export macro for wxJoystick
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:52:02 +00:00
David Elliott
525007cf12
Consolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 13:47:09 +00:00
Vadim Zeitlin
35c63208f0
add wx/univ/tglbtn.h to wxUniv headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 01:00:58 +00:00
Vadim Zeitlin
8f68971791
use wxBORDER_NONE instead of wxNO_BORDER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 00:59:06 +00:00
Vadim Zeitlin
58611b5a50
corrected sizer code example which wrongly used wxBORDER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 00:58:30 +00:00
Francesco Montorsi
19cf1ef3a7
added the static function GetLabelText() to wxStaticText which was mentioned in the docs but not implemented; also fixed the return type documented for wxControl::GetLabel*() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-05 18:54:22 +00:00
Julian Smart
0a42e3b6ac
Updated border style names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-05 10:10:37 +00:00
Vadim Zeitlin
de34bb081b
make wxTmemchr() return (and take) char* instead of void* in ANSI build too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 21:33:42 +00:00
Vadim Zeitlin
628f9e9596
added FromAscii(unsigned char *) overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 18:40:45 +00:00
Vadim Zeitlin
fe906309d7
more wxUSE_XXX documented (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 20:00:32 +00:00
Vadim Zeitlin
d3f00f5993
sorting support for generic version (patch 1765087 from Bo)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 11:47:42 +00:00
Julian Smart
2a225ba641
Added Get/SetParentWindow to allow the same easy printing object to be used even
...
if the original parent frame was deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 08:50:18 +00:00
Francesco Montorsi
a607d8d633
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 18:54:21 +00:00
Julian Smart
aa767a4521
Added EVT_MOVE_START, EVT_MOVE_END (wxMSW only for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 15:34:48 +00:00
Julian Smart
900af4701c
Error and warning corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 15:32:51 +00:00
Julian Smart
f81e22cf6e
VC++ 6 reports ambiguities when using template Read/Write, so
...
don't use them in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 15:30:16 +00:00
Václav Slavík
6371dc5ddc
fixed linking with visibility enable on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 14:43:14 +00:00
David Elliott
148af7c534
Merged 47839 from 2.8 branch:
...
Add missing wxT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 04:31:28 +00:00
David Elliott
50918c652c
Make masks and alpha work for wxCOPY when blitting a selected bitmap from a
...
wxMemoryDC with an eye towards possibly doing more in the future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 04:14:12 +00:00
Vadim Zeitlin
f87da781d2
corrected library link
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 00:25:32 +00:00
Vadim Zeitlin
f4075f30fa
added WXDLLEXPORT to the (empty) wxControlWithItems class declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-31 22:03:08 +00:00
Václav Slavík
a0f63de941
don't crash in wxGetEmptyString(): it's now a #define for wxString(), which is not any less efficient now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-30 10:51:35 +00:00
Vadim Zeitlin
57c2270cd7
removed png and propsize samples from SAMPLES_SUBDIRS too (patch 1763216)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 19:08:51 +00:00
Vadim Zeitlin
93153d9a00
forcefully disable wxUSE_JOYSTICK too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 14:27:49 +00:00
Vadim Zeitlin
a58c5d3e56
always define HDS_HOTTRACK if it's not defined, not only for DMC (fixes WinCE compilation of the code using it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 14:25:12 +00:00
Vadim Zeitlin
b0744f8068
compilation fix for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 14:21:30 +00:00
Vadim Zeitlin
2f68482ef8
CE compilation fix for X button stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 14:08:59 +00:00
Vadim Zeitlin
057bf0be54
compilation fix for wxUSE_DBGHELP==0 after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 14:06:23 +00:00
Vadim Zeitlin
2e297951cd
we must use TB_BUTTONSTRUCTSIZE before adding menu items to the toolbar; also send SHCMBM_GETMENU after creating the menus, otherwise it always returns NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 13:56:05 +00:00
Vadim Zeitlin
d94de683a6
update button style to include BS_MULTILINE when a multiline label is set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 13:38:34 +00:00
Vadim Zeitlin
c4e1d0fc47
no changes, just removed unnecessary #ifdef __WIN32__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 13:16:32 +00:00
David Elliott
141fad6334
Use the ECHO_N and ECHO_C variables in lieu of echo -n since some shells need it.
...
Use cat /dev/null instead of echo -n in the non-Mac (but on OS X) POSTLINK_COMMAND and RESCOMP variables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 03:36:22 +00:00
Vadim Zeitlin
4849eced7f
make the text in the top area more readable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:25:40 +00:00
Vadim Zeitlin
6e69dd00cc
don't use deprecated DoLog() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:23:38 +00:00
Vadim Zeitlin
0c689c8dd6
removed the script which only worked with cvs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:20:00 +00:00
Vadim Zeitlin
b4e4313265
add support for 4th and 5th mouse buttons; reduce code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:11:20 +00:00
Vadim Zeitlin
01101e2da6
added support for 2 extra mouse buttons (patch 1757630)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:04:33 +00:00
Vadim Zeitlin
c369ea0bec
undid accidental commit of this file in the last revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 00:31:51 +00:00
Vadim Zeitlin
39d6633948
removed empty or duplicated samples: checklst, dynamic, listbox, minifram, multimon, png, propsize, resource, rotate, tab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 00:28:07 +00:00
Vadim Zeitlin
1baa0a9db5
added wxMiniFrame demonstration to the dialogs sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 00:21:45 +00:00
Vadim Zeitlin
8630a814ce
preserve the arguments read from configarg.cache in it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 23:48:30 +00:00
David Elliott
eedf7bedb4
Remove bogus DoDelete from 44730. It's appears that it's supposed to be
...
DoDeleteItems which was added in a different place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 21:00:55 +00:00
David Elliott
99635c9934
Add a wxAutoNSAutoreleasePool to wxBitmap::CopyFromIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 20:34:42 +00:00
Paul Cornett
594d84fede
remove duplicates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:35:09 +00:00
Paul Cornett
37140a7124
make definitions match declarations in wxcrt.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 17:34:35 +00:00
Paul Cornett
dcd9ce72d5
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 17:08:07 +00:00
Paul Cornett
b2dd2f28f3
Fix wxCRT_GetenvW WXDLLEXPORT. Use more efficient preincrement operator on iterators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 17:07:52 +00:00
Vadim Zeitlin
c1daf25293
(ugly) compilation fix for wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 13:12:46 +00:00
Vadim Zeitlin
b55e184291
show wxUSE_STL in the summary at the end too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:23:33 +00:00
Vadim Zeitlin
a7af285d1a
added the mention of library in which each class is defined to the documentation (patch 1756715)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:21:03 +00:00
Vadim Zeitlin
a9c3b09ee6
added the script used to add libraries to the documentation files (see patch 1756715)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:14:30 +00:00
Vadim Zeitlin
7e57f04a17
escape underscores
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:04:39 +00:00
Vadim Zeitlin
58d1a31694
no real changes, just cleanup and use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT (patch 1762528)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 11:54:30 +00:00
Vadim Zeitlin
404e3102be
added more wxUSE_XXX symbols (modified patch 1758917)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 11:51:09 +00:00
Vadim Zeitlin
1c0338c561
no changes, just a typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 11:29:52 +00:00
Vadim Zeitlin
333e57d578
set eol-style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 11:27:23 +00:00
Vadim Zeitlin
5a1e0e91a1
blind OS/2 compilation fix in wxSetWorkingDirectory()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 10:25:56 +00:00
Vadim Zeitlin
106e875e59
recognize hover bitmaps (patch 1758843)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Vadim Zeitlin
ef81fe8b3f
added maxDepth parameter to WalkFromException() (patch 1759239)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:14:53 +00:00
Vadim Zeitlin
b2f0b9342a
removed unused wxUSE_XXX options (patch 1759328)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:08:01 +00:00
Vadim Zeitlin
1e0f0a90e0
made strings used in wxIPC methods const as a temporary compilation fix (they will need to be also made void* and not wxChar* later) (patch 1759924)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:59:11 +00:00
Vadim Zeitlin
fc9361e3ec
added wxTo/FromString() overloads for wxFont (1st part of patch 1760073)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:49:08 +00:00
Vadim Zeitlin
ef37a43194
destroy TLW children pending for deletion from ~wxTLW to avoid leaving them with dangling parent pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:16:25 +00:00
Vadim Zeitlin
071691a05d
yet another compilation fix for ItemDeleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 22:03:25 +00:00
David Elliott
319fe1034c
* Implement the wxMask copy constructor to retain the source object's
...
m_cocoaNSBitmapImageRep (fixes multiple release bug).
* Add some debug messages for unimplemented wxMask::Create overloads.
* Implement mask creation w/ key color from 8-bpp grayscale bitmap.
This makes the mask image in the drawing sample's mask page work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 20:57:50 +00:00
Vadim Zeitlin
77c1fa98ce
use symbolic name for the shell menu bar too; include resources.h in wince.rc directly instead of only doing it from smartphone.rc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 20:19:52 +00:00
Vadim Zeitlin
272be12047
fix menu bar creation under WM5 (SHCMBF_EMPTYBAR must be used or it's not created at all!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 18:02:29 +00:00
Paul Cornett
bb351eab34
skip preprocessor test for a couple more header checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 17:02:38 +00:00
Paul Cornett
b3482afb55
fix last commit, it seems spaces are not allowed between macro and paren
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:45:13 +00:00
Vadim Zeitlin
d6f2a8911e
many compilation fixes for WinCE using VC8 (it now build, although still doesn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:34:24 +00:00
Vadim Zeitlin
d8af5b3aad
ignore VC8 project files and build directories
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:32:36 +00:00
Vadim Zeitlin
61873536a0
added wxUSE_INICONF (disabled by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 14:57:31 +00:00
Vadim Zeitlin
e71bf8b256
don't use min() macro in wxQsort() which conflicts with the one from windows.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:51:34 +00:00
Vadim Zeitlin
11fe6505b8
deTABbed wxQsort()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:48:20 +00:00
Vadim Zeitlin
3214311765
and another compilation fix for ItemDeleted() from Bo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:22:48 +00:00
Vadim Zeitlin
442c56e6ee
real compilation fix for ItemDeleted()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:17:14 +00:00
David Elliott
b4e05bddd7
Implement --with-macosx-sdk[=SDK] and --with-macosx-version-min[=VER].
...
Deprecate --enable-universal_binary but support it by adding the -arch flags
as before and automatically setting the SDK using the new --with-macosx-sdk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 03:38:33 +00:00
Vadim Zeitlin
f631cd8e12
compilation fix for insert()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 00:17:27 +00:00
Vadim Zeitlin
00978afa69
compilation fix for ItemDeleted()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 00:16:34 +00:00
Robert Roebling
e7ec36183c
escape _
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 21:24:52 +00:00
David Elliott
05ef417f46
Add a Clear() method simply calling the wxComboBoxBase::Clear() to
...
disambiguate it with wxTextCtrl::Clear() since wxCocoa's wxComboBox derives
from wxTextCtrl for some reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:40:44 +00:00
Vadim Zeitlin
57309d1415
re-disable Universal Mac builds by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 16:27:29 +00:00
David Elliott
9c41aa9717
Silence the warning about lack of [NSApplication +setAppleMenu:]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 16:08:39 +00:00
David Elliott
369559cab0
Added missing #import <Foundation/NSArray.h>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 15:56:48 +00:00
Vadim Zeitlin
0d5b49cfb5
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 14:25:07 +00:00
Vadim Zeitlin
a236aa2058
many wxItemContainer-related changes:
...
1. the main function for item insertion is now DoInsertItems() which allows
for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
itself, the derived classes don't have to distinguish between void and
object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
in wxGTK combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Vadim Zeitlin
7f73c398d5
removed called to deprecated wxPixelData::UseAlpha() which does nothing now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 11:43:00 +00:00
Robert Roebling
83e51c483e
Rewritten wxList docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 22:37:59 +00:00
Robert Roebling
9d8fe14a97
Use type safe list for model notifiers, sample corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:46:01 +00:00
Robert Roebling
b8fd3d7cc2
call attributes attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:25:32 +00:00
Robert Roebling
46abf0775b
Small correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:23:12 +00:00
Robert Roebling
469d3e9b7b
ItemDeleted now has (parent, item)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:18:51 +00:00
Robert Roebling
d47db7e06a
Patch from Bo, implement sorting in wxDVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:09:47 +00:00
Vadim Zeitlin
cf4a8b2698
fix warnings due to using deprecated-but-used-internally methods from the header file (which, of course, meant that they were also used during client code compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 17:42:43 +00:00
Robert Roebling
df4aed1cf0
Add iterators to wxVector, use std::vector in STL mode, correct wxVector::erase()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 10:19:08 +00:00
Robert Roebling
966cb94d85
make wxDataViewCtrl in STL mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 10:17:21 +00:00
Julian Smart
ec36b155bd
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 07:17:31 +00:00
Václav Slavík
f0dfc29c71
optimized wxStringTokenizer: it's now slightly faster in wchar_t build and much faster in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 20:00:12 +00:00
Vadim Zeitlin
a2db25a143
use To/FromWChar() in single parameter wxMBConv::cMB2WC/WC2MB() overloads too, instead of passing by the deprecated MB2WC/WC2MB()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:20:52 +00:00
Vadim Zeitlin
4fdfe2f3ae
use wxMBConvStrictUTF8 instead of wxMBConvUTF8 in ConvertStr() and mb/wc_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:10:21 +00:00
Vadim Zeitlin
0286d08d14
add wxMBConvStrictUTF8 class implementing just UTF-8 conversion, without support for PUA/octal mappings and use it for wxConvUTF8 as it's simpler and more efficient (~20% faster)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:01:10 +00:00
Robert Roebling
6989272940
Patch from Bo to speed up FindNode() in internal data tree structure (GTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:10:10 +00:00
Robert Roebling
fe5f448f43
Added wxQsort()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:26:51 +00:00
Robert Roebling
effd54b05e
Don't send events when expanding internally, only after wxDataViewModel::ItemAdded was called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:25:35 +00:00
Robert Roebling
d8331a013b
Send events from port-specific code, not common code, tested in samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:15:04 +00:00
Robert Roebling
351461fc83
Patch from Bo to optimize FindNode() in internal tree structure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 08:35:55 +00:00
Vadim Zeitlin
8ca1a013e4
corrected off by 1 error in cMB2WC() call (thanks valgrind)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 00:36:22 +00:00
Vadim Zeitlin
89216929ee
don't add an extra empty line to the end (fixes bug introduced by the last optimization round)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:36:37 +00:00
Vadim Zeitlin
b899f05f9e
harmless warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:34:29 +00:00
Vadim Zeitlin
3af0741ccc
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:33:44 +00:00
Vadim Zeitlin
3d9b742c7d
removed empty directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:29:46 +00:00
Vadim Zeitlin
1c2aa6f237
fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 21:59:56 +00:00
Vadim Zeitlin
6b65e37304
removed wxUSE_STRUTILS which was left over from the old code version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 18:00:15 +00:00
Julian Smart
884a369a73
Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 12:23:28 +00:00
Vadim Zeitlin
671c43ff32
fix for r47646: typedef wxDouble for all platforms, not just wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:27:39 +00:00
Stefan Csomor
e879caa6a3
adding missing defaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 11:34:47 +00:00
Vadim Zeitlin
eea0562328
call aglEnable(AGL_BUFFER_RECT) after setting the rect; fixes both drawing over all the other windows and missing redraw before first resize (patch 1758339)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:34:16 +00:00
Vadim Zeitlin
4d76ea948a
removed erroneous spaces from wxTo/FromString() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:29:33 +00:00
Stefan Csomor
49d8a7819b
no 68k macs more to support...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:14:35 +00:00
Václav Slavík
d6f513f829
fix visibility problems with libstdc++ on Debian and Ubuntu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 09:20:42 +00:00
Václav Slavík
a2c5db764c
fixed visibility warning on Fedora
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:01:51 +00:00
Vadim Zeitlin
991ad6cd02
corrected the include file names (rest of patch 1757479)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 00:00:13 +00:00
Vadim Zeitlin
08f35f8720
removed docs for classes not existing any more (part of patch 1757479)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:59:07 +00:00
Vadim Zeitlin
b0f76951bc
correct closing comments in #endifs (patch 1756990)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:54:55 +00:00
Vadim Zeitlin
9222c61388
updated after fileconf/fileconftest.cpp to config/fileconf.cpp move
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:51:19 +00:00
Vadim Zeitlin
5c5a0f3c39
moved wxFileConfig test to config directory together with wxConfig test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:50:26 +00:00
Vadim Zeitlin
3e1512cdfe
added support for user-defined types to wxConfig (patch 1753875)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:47:22 +00:00
Vadim Zeitlin
d2001a563b
added a macro for comparison size_t variables with literal constants, this is less ugly than explicitly casting the arguments to size_t; use it to fix base64 compilation under 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:41:07 +00:00
Vadim Zeitlin
8b51786f6e
added wxTo/FromString(wxColour) (part of patch 1753875)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:24:10 +00:00
Vadim Zeitlin
6fdf2acccd
added --enable-ownerdrawn MSW-only option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:22:56 +00:00
Robert Roebling
c534e69669
added wxDataViewIndexListModel and sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:07:03 +00:00
Vadim Zeitlin
11f406f91f
allow overriding automatic alpha detection during icon->bitmap conversions (slightly modified patch 1738168)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:56:07 +00:00
Vadim Zeitlin
313d9977bb
removed unused variable left after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 21:36:30 +00:00
Václav Slavík
6991087b08
fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 16:43:31 +00:00
Vadim Zeitlin
3c1a167904
removed duplicate MSW-specific options, they're now all between special start/end MSW options comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:22:15 +00:00
Vadim Zeitlin
0295153cbc
added --enable-ps-in-msw configure option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:09:57 +00:00
Vadim Zeitlin
b3a7495cbc
removed wxUSE_UXTHEME_AUTO which wasn't used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:07:16 +00:00
Vadim Zeitlin
f28b24bb6a
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:06:32 +00:00
Vadim Zeitlin
42f9292efb
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:05:11 +00:00
Vadim Zeitlin
f77c0fe312
added wxUSE_REGKEY option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:01:28 +00:00
Vadim Zeitlin
ba0c92a67d
regenerated MSW part from wx/msw/setup_inc.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:58:59 +00:00
Vadim Zeitlin
508d12b224
extracted MSW-specific setup.h options to their own wx/msw/setup_inc.h file which is now used to automaitcally generate both wx/msw/setup0.h and setup.h.in by update-setup-h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:56:22 +00:00
Vadim Zeitlin
1457ea31cd
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:41:34 +00:00
Vadim Zeitlin
8743ec79b7
corrected (and simplified) configarg.cache updating broken by last changes to WX_ARG_WITH/ENABLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:15:38 +00:00
Vadim Zeitlin
9795e0dbc2
define wxUSE_FONTENUM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 07:31:28 +00:00
Vadim Zeitlin
e0f88b1ac7
define CreateEventLoop() even if wxUSE_CONSOLE_EVENTLOOP == 0 (because it's declared pure virtual in the base class), just return NULL from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:53 +00:00
Vadim Zeitlin
ff42758536
added wxUSE_FONTENUM for wxFontEnumerator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:00 +00:00
Vadim Zeitlin
a8ff046ba9
fixes for building wxMSW with --disbale-all-features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:05:03 +00:00
Vadim Zeitlin
5d18e02915
added --enable-uxtheme option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:42:58 +00:00
Vadim Zeitlin
38a14fe926
always use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, independently of whether wxDD_MUST_EXIT flag is used, as the create folder dialog has confusing UI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:26:42 +00:00
Vadim Zeitlin
f032212850
use colour in the libraries diagram to indicate base/GUI libraries instead of explicitly drawing the arrows from all libraries to the base and core one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:17:37 +00:00
Vadim Zeitlin
f2f889d997
replaced with Debian Etch version which has slightly better fseeko() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 22:00:09 +00:00
David Elliott
e875c17db7
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
...
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 20:35:57 +00:00
David Elliott
e7e97a594d
wxCocoa: Basic support for font underlining:
...
* Make wxWindow::SetFont call wxWindowBase::SetFont.
* Make wxDC::SetFont store the font in existing m_font.
* Make wxFont::GetUnderlined return the m_underlined flag.
* Implement underlining in wxDC::DoDrawText
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 19:05:56 +00:00
Paul Cornett
be2ad872dc
more AC_CHECK_HEADERS fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 18:27:35 +00:00
David Elliott
1f7e12cc26
Restore AC_CHECK_HEADERS in preference to AC_CHECK_HEADER so that the HAVE_*
...
defines will be generated when needed. This fixes breakage caused by 44703.
Only usage where HAVE_* macro is in setup.h.in or was used by configure
itself (e.g. HAVE_X11_XLIB_H) is changed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 17:59:45 +00:00
David Elliott
580e09f7c7
Update all of the .m4 files using Apple-shipped autoconf with a change to functions.m4 to make the output match what is currently ni the tree from VZ.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 17:51:21 +00:00
Paul Cornett
9cf58b6979
use the right cast to fix warning, rather than just suppressing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 17:23:30 +00:00
Vadim Zeitlin
07b1232d2c
moved wxUSE_CRASHREPORT checks to wx/msw/chkconf.h; added it to setup.h.in so that it gets defined (always as 0 as mingw32 doesn't support it anyhow) for configure builds too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 16:22:50 +00:00
Vadim Zeitlin
cb147822d0
document wxCB_SORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 14:10:47 +00:00
Robert Roebling
af110130e6
Optimise internal sorting datastructure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 12:24:18 +00:00
Robert Roebling
ed903e4242
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 09:01:52 +00:00
Robert Roebling
ee5aa9d44f
Fix for crash when opening empty node
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 08:23:53 +00:00
Paul Cornett
25d6eb3a77
add missing parens to bitwise expression
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 06:44:02 +00:00
David Elliott
a8780ad5bb
Implement wxWindow::SetCursor to invalidate Cocoa's cursor rects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 05:40:54 +00:00
David Elliott
e2948f175e
Remove wxStockCursor function that should never have been global.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:08:58 +00:00
David Elliott
69659fd770
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
...
possible by using the system cursors first, a set of built-in cursors copied
from wxMac if a system cursor was not found, and a normal cursor otherwise.
Fixes lack of wxCURSOR_HAND and makes the code easier to follow by clearly
showing which cursors are and are not available from each source.
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:06:26 +00:00
David Elliott
fe686e5a1f
Rewrite conversion from classic Mac OS 'CURS'-style structures to NSCursor.
...
* Leave data as separate image and mask planes instead of interleaving it
* Specify bytesPerRow to make compatible with 10.4 (Tiger) and higher
* Use endian-independent math.
* Document that the cursor data came from wxMac source.
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 02:12:45 +00:00
Vadim Zeitlin
ce65118e62
make To/From8bit() inline for performance reasons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 01:10:22 +00:00
Vadim Zeitlin
cdbcd6c12f
rewrite FilterInValue() using iterators, this results iin 12x performance improvement in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 01:03:33 +00:00
Vadim Zeitlin
c225b981b6
check for setenv first, then putenv as using setenv in wxSetEnv() is much easier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:09 +00:00
Vadim Zeitlin
c0472c7c9e
added code to free memory allocated in wxSetEnv() when it uses putenv()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 22:58:47 +00:00
David Elliott
c978d28a2a
Strip mnemonics from the label before passing it to Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:19:52 +00:00
David Elliott
259502c61d
Implement wxCocoa wxRadioBox event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:52:12 +00:00
David Elliott
18359b1945
Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:00:32 +00:00
David Elliott
4c1a4c4180
Implement most of wxRadioBox's methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:58:38 +00:00
David Elliott
6420b4c55d
Added include wx/timer.h to non WX_PRECOMP case.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:40:42 +00:00
Vadim Zeitlin
6619edf0ea
do platform-specific checks after ensuring that the symbols we use are defined; extract wxGTK-specific checks to wx/gtk/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 15:47:11 +00:00
Robert Roebling
cf283a470a
Better sorting example and better default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 14:03:43 +00:00
Vadim Zeitlin
4f167b46b4
added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +00:00
Vadim Zeitlin
6f7f0d0a2d
don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style (patch 1756184)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 23:42:58 +00:00
Vadim Zeitlin
5ad2b5ce07
speed up reading wxFileConfig from wxInputStream by factors of 3.5, 20 and 7 for ANSI/wchar_t/UTF-8 builds respectively (replaces patch 1755969)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 23:37:12 +00:00
Vadim Zeitlin
7a3ba5af83
wxGTK/Univ compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 22:01:06 +00:00
Robert Roebling
0be79c8a80
Completed sorting in wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:46:28 +00:00
Vadim Zeitlin
01cd7f7575
added documentation of wxUSE_XXX symbols (modified patch 1755127)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:09:28 +00:00
Vadim Zeitlin
b1fd5b3506
fix broken wxvscrolledwindowsetrowcount link
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:08:54 +00:00
Václav Slavík
775f4c5361
compilation fix for minimal build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 15:02:05 +00:00
Robert Roebling
4508fcd20a
First work at resort with header click
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 14:09:26 +00:00
Robert Roebling
9a45b5d576
Forgot this one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 13:25:38 +00:00
Robert Roebling
ef4279890a
First actual sorting for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 13:23:57 +00:00
Vadim Zeitlin
e7ff34edfd
removed the hyphen from the new --enable{baseevt,epoll,select}loop options description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 12:58:28 +00:00
Václav Slavík
a5001e9361
don't use _T() for literals in wxDFB, it uses UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 10:15:42 +00:00
Václav Slavík
66c71d8a3d
use iterators instead of c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 09:44:36 +00:00
Vadim Zeitlin
baac339546
added new libraries (patch from Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 23:04:20 +00:00
Vadim Zeitlin
fc715b5088
added missing libraries to the requirements list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:53:43 +00:00
Vadim Zeitlin
8749ce0a6f
remove references to contrib (patch from Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:51:06 +00:00
Vadim Zeitlin
02b28440a3
check whether the string is non-empty before accessing its first element
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:46:02 +00:00
Robert Roebling
55fbde1232
Some code renaming to avoid confusion. Test editable column in sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:01:47 +00:00
Chris Elliott
f2f1d735ca
svn rather than cvs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 13:25:00 +00:00
Chris Elliott
6865660d5a
svn rather than cvs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 13:24:03 +00:00
Václav Slavík
e93523680b
compilation fix for Borland C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 11:59:25 +00:00
David Elliott
9ed9755237
Partially implement wxRadioBox for wxCocoa.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:41:35 +00:00
David Elliott
b0a207df87
Add a couple of wxAutoNSAutoreleasePool in some key spots where Cocoa itself does a number of autoreleases.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:31:49 +00:00
David Elliott
2465458c06
Don't use exceptions to determine lack of a method implementation. Exceptions
...
aren't designed for this in Cocoa. Instead, use respondsToSelector:.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:14:36 +00:00
Vadim Zeitlin
d42e12e8dd
remove file containing many obsolete defines, if anyone wants to revive MicroWindows support the MicroWin-specific checks should be added to wx/msw/chkconf.h or wx/msw/microwin/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 23:28:15 +00:00
David Elliott
b1c702af6f
Added preliminary documentation about how to write new wxCocoa controls.
...
Basically just a brain dump but it's better than nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 23:09:56 +00:00
Vadim Zeitlin
5f6cafd149
test for gettimeofday/ftime even if we don't use wxDateTime -- we still need these functions for wxGetLocalTimeMillis() and wxStopWatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:20:54 +00:00
Vadim Zeitlin
4252569b32
use wxGetLocalTimeMillis() instead of wxDateTime in wxSocketBase::_Wait(), this allows to use sockets without wxUSE_DATETIME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:16:03 +00:00
Vadim Zeitlin
5770bfeb87
compilation fix for wxUSE_LOG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:15:21 +00:00
Vadim Zeitlin
12d0b79493
add wxMilliClockToLong() helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:14:53 +00:00
Vadim Zeitlin
7bcc9eb973
include wx/dynarray.h to fix compilation with minimal set of wxUSE options
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:41:24 +00:00
Vadim Zeitlin
434e29032f
add wxUSE_BASE64 checks around DoRead/WriteBinary() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:38:42 +00:00
Vadim Zeitlin
8e16c3f2b6
include wx/longlong.h to fix compilation with wxUSE_DATETIME==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:33:27 +00:00
Václav Slavík
92d912a2c9
support real transparency for controls that return HasTransparentBackground() in wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 18:57:40 +00:00
Václav Slavík
7dfe6f2a51
compilation fix for wxStrtod and friends: non-zero int can't be passed as pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 18:52:53 +00:00
David Elliott
9550ee9870
The wxUSE_EPOLL_DISPATCHER (like other wxUSE flags) is a 0/1 not an undef/def conditional.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 17:01:16 +00:00
Vadim Zeitlin
47124ca667
fix WX_ARG_WITH behaviour when it's used before wxUSE_ALL_FEATURES is defined, as for --without-subdirs option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 16:18:41 +00:00
Vadim Zeitlin
98883bca6f
added unistd.h include for close()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 13:10:20 +00:00
Robert Roebling
6cdcbce3e5
Use wxDataViewItem, not row to index
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:21:28 +00:00
Robert Roebling
b5fce9e2df
Store pointers in wxDataViewItem in the sample, no any artifical int ID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:15:10 +00:00
Robert Roebling
9d52aad39a
change wxDataViewItem id to void*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:01:05 +00:00
Robert Roebling
704c349086
Patch from Bo for generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 10:37:04 +00:00
Vadim Zeitlin
1c5eeec392
simplify the test for build setup.h being out of date (do it as in the patch 1752567 for consistency with 2.8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 20:49:45 +00:00
Vadim Zeitlin
61478ea03f
added wxUSE_CONSOLE_EVENTLOOP around wxConsoleEventLoop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:33:16 +00:00
Paul Cornett
2e38bcd2dc
fix for monolithic build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:32:20 +00:00
Vadim Zeitlin
ce0bb89d45
no real changes, just added an extra status message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:31:00 +00:00
Vadim Zeitlin
5f1f21d2a5
create greyed image for wxBitmapButton in MSW automatically, as in wxGTK (replaces patch 1734018)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:29:20 +00:00
Robert Roebling
e63807a8a4
Add test for deleting item from wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:08:08 +00:00
Václav Slavík
0c8ae72029
convert bitmap's surface to RGB24/ARGB in wxBitmap::GetRawData() if it uses different format
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 10:05:09 +00:00
Václav Slavík
ea88e9bca9
don't export private stc2wx(), wx2stc() functions from wxSTC shared library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 08:10:29 +00:00
Vadim Zeitlin
39931206f7
regenerated after wxUSE_SELECT/EPOLL_DISPATCHER additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:32:36 +00:00
Vadim Zeitlin
78355ffc7b
make the path absolute before using it with gtk_file_chooser_set_current_folder() (patch 1753796)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:30:46 +00:00
Vadim Zeitlin
2d1593cd4b
replace RunLoop() call with Dispatch() after wxFDIODispatcher changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:27:30 +00:00
Vadim Zeitlin
b20573601f
allow setting empty tooltip in SetIcon() (patch 1750994)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:26:07 +00:00
Vadim Zeitlin
d31a4a84fb
don't leak epoll descriptor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:22:27 +00:00
Vadim Zeitlin
0a6c4c2e3b
corrected #if check which was written as #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:22:05 +00:00
Vadim Zeitlin
5e1eac149f
create the single global IO dispatcher in wxFDIODispatcher; don't use wxSelectDispatcher in wxGSocket as the global dispatcher may be of a different type (modified patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:18:38 +00:00
Vadim Zeitlin
7523de907d
replaced wxFDIODispatcher::RunLoop() with Dispatch() which handles only one event at a time (part 1 of the patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:50:38 +00:00
Vadim Zeitlin
af57c51ab7
changed wxFDIODispatcher::UnregisterFD() to take only fd, without flags, and unregister it unconditionally; use ModifyFD() to just change the flags (modified part of patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:41:46 +00:00
Vadim Zeitlin
c11132ca80
ignore bakefile-generated test.dsw too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:40:30 +00:00
Paul Cornett
a9639e76ed
fix syntax error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:17:21 +00:00
Vadim Zeitlin
8ba1644391
added include guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:09:35 +00:00
Vadim Zeitlin
a187327964
Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
...
put checks for them in the new Unix-specific wx/unix/chkconf.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:06:18 +00:00
Vadim Zeitlin
ba51e75bb0
fix harmless unused variable warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:52:52 +00:00
Paul Cornett
a1312bc8b2
fix HasPendingEvents() to only return true if there are actually events pending
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:18:22 +00:00
Vadim Zeitlin
d970f7d5cb
allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros and renamed --disable-all_features to --disable-all-features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:12:32 +00:00
Vadim Zeitlin
3c7410a5ba
don't change the wxUSE_XXX for the controls if --enable-controls wasn't specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 17:54:39 +00:00
Robert Roebling
befa9b614f
Test in GetFirstChild() if item is known to control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 15:47:01 +00:00
Robert Roebling
1e08ad102a
Made wxDataViewCtrl sample use a real, expandabl data tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 13:54:14 +00:00
Benjamin Williams
94473fa8e4
fix for bug #1747890 - close button problem fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:10:25 +00:00
Václav Slavík
288b6107e1
renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Stefan Csomor
ab0f37b97b
adapting to new m_labelOrig label member
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 05:47:37 +00:00
Václav Slavík
6a4cbac17a
removed broken and global GetLine() function from wx/protocol/protocol.h; there's already wxProtocol::ReadLine() that actually works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:36 +00:00
Václav Slavík
a2bd84a532
added --disable-visibility configure option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:44:26 +00:00
Vadim Zeitlin
50257dba06
compilation fix for DoReadBinary() in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 14:49:58 +00:00
Vadim Zeitlin
c70557da08
set the string field of the wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 14:16:14 +00:00
Vadim Zeitlin
46753a7ce5
fixed showing busy cursor for disabled windows and during wxExecute()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 14:09:08 +00:00
Vadim Zeitlin
d3c58c7ec0
use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:43:57 +00:00
Vadim Zeitlin
c6f9dfe8ef
added commands to test how busy cursor behaves during wxExecute()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:05:28 +00:00
Vadim Zeitlin
a6a0bd38c6
added eVC project file for building regex library (patch 1753200)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 12:57:46 +00:00
Vadim Zeitlin
11c467ef1a
added stubs for DoRead/WriteBinary()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 11:29:33 +00:00
Vadim Zeitlin
ee8fd6b1bd
cast abs() argument to int to fix compilation with BC++ 2007
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 11:14:49 +00:00
Vadim Zeitlin
664f3fd4eb
wxCreateDIB() seems to be unused, removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 11:13:55 +00:00
Václav Slavík
7da37f2c5d
make it possible to build in ANSI build on Windows again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:55:18 +00:00
Václav Slavík
3d44a14558
make --enable-optimise the default in absence of --enable-debug again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:13:55 +00:00
Robert Roebling
d5025dc00f
More patches from Bo, reduced wxDataViewModel, more sorting preps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 00:35:39 +00:00
Vadim Zeitlin
cb3c7fdda6
fix unused parameter warning in OnIdle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:04:59 +00:00
Vadim Zeitlin
d05005c11f
use unsigned char to avoid MSVC warnings about cast truncations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:04:17 +00:00
Vadim Zeitlin
1032be03d5
remove deprecated UseAlpha() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:01:03 +00:00
David Elliott
64dfdfa28b
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:03:20 +00:00
David Elliott
aa25b7f983
Fix Raise and Lower to leave all other sibilng views in the order they were in.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 18:26:33 +00:00
Robert Roebling
3b6280beb2
Bo's patch for generic code, more sorting code, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Václav Slavík
3ef595d5f8
removed extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:36:25 +00:00
Vadim Zeitlin
de004174ff
compilation fix for ANSI STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:16:23 +00:00
Vadim Zeitlin
325ab46800
removed Insert() methods which already exist in the base wxControlWithItems class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:04:07 +00:00
Vadim Zeitlin
b534968dc3
added support for alpha channel to wxColour to/from string conversion functions (slightly modified patch 1750112)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 08:36:24 +00:00
Paul Cornett
1d66b09982
fix MDI child sizing, which was working more or less by accident before I broke it in rev 46223
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 07:01:54 +00:00
Václav Slavík
f24fc8367d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 06:13:52 +00:00
Vadim Zeitlin
6af769427a
added missing spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:18:01 +00:00
Vadim Zeitlin
98c389845f
non-PCH compilation fix after latest change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:12:51 +00:00
Vadim Zeitlin
5814e8ba4e
added support for binary data to wxConfig (slightly modified patch 1736788)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:11:03 +00:00
Vadim Zeitlin
84ebfcbd18
--with-sdl option should be taken into account for non-GUI builds too (closes bug 1196162)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:31:24 +00:00
Vadim Zeitlin
e16417726c
minor changes: increase the initial window size, create the log control read-only, don't create unneeded status bar panes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:17:39 +00:00
Vadim Zeitlin
6ac902639c
call SetCanFocus(false) to prevent the control window itself from getting focus, only m_mainWin should have it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:16:26 +00:00
Vadim Zeitlin
6bddfdbf19
don't output -DwxUSE_GUI=0 in cflags by default, do output it if 'base' is specified after cflags option (patch from John Labenski)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:54:51 +00:00
Vadim Zeitlin
b7ed9e10d3
fixed a bug in a test (there should be a space after -z)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:32 +00:00
Vadim Zeitlin
238663c183
disable the libraries and features which were disabled before the latest changes but got accidentally enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:05 +00:00
Vadim Zeitlin
b0fc907f70
added wxUSE_SVG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
Vadim Zeitlin
8e10778e0e
cleanup: indentation, line length, don't include unneeded headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:42:37 +00:00
Vadim Zeitlin
6534efcf7b
add adv and core libraries to the built wx libs if GUI is enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:11:37 +00:00
Vadim Zeitlin
6e198e97ec
Rewrote configure --enable/with options handling:
...
1. There is no more need to set DEFAULT_wxUSE_XXX for all options (although
it's still taken into account if it is set), use WX_ARG_DISABLE/WITHOUT for
the options which are enabled by default instead (and WX_ARG_ENABLE/WITH
for those which are disabled): this makes configure messages more
understandable (this closes bug 1038676)
2. Added --disable-all-features option which allows to disable everything
which can be disabled at once in order to build the absolutely minimal
wx library
3. General cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:03:11 +00:00
Stefan Csomor
8577d8c34d
avoiding copies if not necessary (better dependancy tracking)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:50:41 +00:00
Stefan Csomor
8786868c1b
64bit fix for patch as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:46:36 +00:00
Julian Smart
f100b1c33e
Test for wxUSE_UXTHEME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:55:28 +00:00
Julian Smart
b93aafaba9
Avoid a crash due to OnSize being called before initialisation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:32:57 +00:00
Robert Roebling
60869e7219
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:03:52 +00:00
Vadim Zeitlin
ba752031a5
corrected timer.h include broken by last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:11:58 +00:00
Vadim Zeitlin
00ce89e74a
compilation fixes for wxUSE_COMBOBOX/RADIOBTN==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:03:09 +00:00
Vadim Zeitlin
fae8664187
compilation fixes for wxUSE_MSGDLG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:51 +00:00
Vadim Zeitlin
c052164410
compilation fixes for wxUSE_IMAGE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:11 +00:00
Vadim Zeitlin
3c029873c6
check for wxUSE_TIMER in headers, not the files including them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:00:33 +00:00
Vadim Zeitlin
28fcfbfe09
added missing wxUSE_XXX checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:59:42 +00:00
Vadim Zeitlin
a59bbda13f
removed dummy variable, C++ compilers shouldn't have any troubles with empty source file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:37:09 +00:00
Vadim Zeitlin
8e913f796a
compilation fixes for wxUSE_TIMER==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:57 +00:00
Vadim Zeitlin
bd08f2f766
compilation fixes for wxUSE_LONGLONG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:17 +00:00
Vadim Zeitlin
8c7f47ddde
don't include wx/unix/private/timer.h from evtloop.h, it's only needed in .cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:11:04 +00:00
Václav Slavík
dc300f9ffc
compilation fix for gcc<3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 20:13:59 +00:00
Václav Slavík
5fe050c360
added support for custom bitmap depths
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 19:02:12 +00:00
Robin Dunn
c7a757aa56
Switch GetHeaderButtonWidget to use a real column header button.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:59:48 +00:00
Václav Slavík
c3ee702552
implemented raw bitmap access for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:49:19 +00:00
Václav Slavík
650c0aa918
cleanup of raw access to bitmaps:
...
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Robert Roebling
a596eeb93f
Block all events in wxSpinButton::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:58:03 +00:00
Robert Roebling
28529e37e2
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:50:14 +00:00
Robert Roebling
0bf36922c8
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:23 +00:00
Vadim Zeitlin
e83e16de9e
removed obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:29:19 +00:00
Vadim Zeitlin
bd63020652
added --optional-libs wx-config argument (patch 1747239)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:28:12 +00:00
Vadim Zeitlin
92bf6cc15a
Also added wxFFileStream::IsOk() and corrected IsOk() implementations of
...
wxFileInput/OutputStream to call the immediate base class version of this
method and not wxStreamBase one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:02:54 +00:00
Vadim Zeitlin
a8098f8653
regenerated after adding base64.h/cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:00:51 +00:00
Vadim Zeitlin
4db03d266b
added functions for base64 en/decoding (replaces patch 1739431)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Robin Dunn
0514c6a202
Need to send an event in the wxCP_NO_TLW_RESIZE case too so the user
...
code knows when to update the layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 19:49:35 +00:00
Robin Dunn
621ed8af21
Use a button that has a tree widget as a parent as the widget style
...
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:10 +00:00
Robert Roebling
94b1f7bcd3
More work on sorting in wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:29:05 +00:00
David Elliott
345fec0d57
Fix compilo due to r47267.
...
That patch might need some review because it does not use direct base classes but skips up to wxStreamBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:41:51 +00:00
Vadim Zeitlin
1ffeecf7a9
use first unused colour for the mask instead of hardcoded #ff00ff (patch 1746895)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:08:20 +00:00
Vadim Zeitlin
a6ac8d7582
added wxFileStream::IsOk() (patch 1749587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 16:59:09 +00:00
Vadim Zeitlin
0a904ed2c8
generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:58:44 +00:00
Vadim Zeitlin
21dffed2f6
don't bubble up the events upwards the window hierarchy in non-last event handler in the event handlers chain as this results in passing the event more than once to the parent (and, indirectly, to wxApp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:48:48 +00:00
Julian Smart
cabf4bca21
Added gravity
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:30:49 +00:00
Robert Roebling
773cca4887
Add GtkSortableIface stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:23:22 +00:00
Vadim Zeitlin
033bf67c3c
added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Robert Roebling
5732efaa91
Add compare function to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 12:32:59 +00:00
Robert Roebling
aba9bfd00a
Bo'd patch to make wxDataViewCtrl compile again (4th attempt
...
to actually commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
c185173ef0
ignore Bakefiles.local.bkgen file with local customizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:17:47 +00:00
Václav Slavík
0ff20b9f00
added GCC visibility support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Vadim Zeitlin
5458b18a18
fix from Francesco for the latest version of wxPresets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 23:11:55 +00:00
Václav Slavík
d03dab2a64
documented removal of unsafe wxGets() and wxTmpnam() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:23:11 +00:00
Václav Slavík
22ca9ff5b2
don't call <del-flags> for flags that weren't added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:03:58 +00:00
Václav Slavík
57e2b887a0
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 19:06:03 +00:00
Václav Slavík
6dc2e82330
fix Watcom compilation: removed templates for wxFileSelector() compatibility with passing NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 08:40:37 +00:00
Václav Slavík
c5cf866314
removed wxWCHAR_T_IS_SEPARATE_TYPE: there already was wxWCHAR_T_IS_REAL_TYPE with the exact same meaning and definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 07:04:38 +00:00
Paul Cornett
0728199b91
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
David Elliott
9ed8b5a7b2
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
...
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 22:10:02 +00:00
David Elliott
6ac84a7872
Remove wxMBConv_mac and wxMBConv_macUTF8D converters and use wxMBConv_cf(wxFONTENCODING_UTF8) for wxConvFileName on Darwin platform regardless of GUI toolkit.
...
Check for Mac encodings in wxMBConv_wxwin::Init and fail to provide conversion for them via wxEncodingConverter because that code is horribly broken for several encodings.
Remove definition of wxConvLibc for non-Darwin Mac platforms (we don't support these anymore).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 19:10:15 +00:00
David Elliott
991dd5beb9
Add support for wxFONTENCODING_MACKEYBOARD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:56:46 +00:00
David Elliott
ec0114abef
Add factory functions for use with future unit tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:09:11 +00:00
Robert Roebling
9bb3f212e2
GCC doesn't like inline wxDEPRECATED methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 14:09:22 +00:00
Václav Slavík
17a691c1ef
added missing wx_str() (patch #1749398 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 12:31:03 +00:00
Václav Slavík
f5595af61e
fixed dereferencing of invalid pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 12:30:27 +00:00
Václav Slavík
e966f815d4
changed wxVectorBase and WX_DECLARE_BASE into wxVector<T> template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 10:09:42 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
af717fa87a
fixed to make wxVariant compatible with both ANSI and Unicode modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 23:02:16 +00:00
David Elliott
6ff49cbcd4
Fix wxMBConv_cf to implement FromWChar/ToWChar in lieu of now deprecated WC2MB/MB2WC.
...
This is a complete rewrite trying built-in UTF-32 conversion first, then falling back to conversion through UTF-16.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:38:27 +00:00
Václav Slavík
e2badebb8f
added alpha channel support to wxDFB's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:24:28 +00:00
Václav Slavík
b6ac40dc77
added support for loading images with alpha channel to TIFF handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:17:17 +00:00
David Elliott
5c4ed98d99
Rename wxMBConv_cocoa to wxMBConv_cf and use it when __DARWIN__ (all Darwin and OS X systems).
...
Add comment about __WXMAC__ code path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 18:20:32 +00:00
Vadim Zeitlin
5a83f42b3a
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl, library)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:40:45 +00:00
Václav Slavík
c2d122aa7d
added missing wxUniChar::operator=(wxUniCharRef)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:40:36 +00:00
Vadim Zeitlin
c4c6ada953
remove the unneeded +1 from wxGauge::SetValue() call in Update()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:11:08 +00:00
Vadim Zeitlin
0836334e9f
document that SetValue() accepts values in 0..GetRange interval, inclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:09:34 +00:00
Vadim Zeitlin
39434ba375
use 'neither ... nor ...' instead of 'neither ... or ...' in wxFinite documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 11:17:13 +00:00
David Elliott
4799f3baab
Make wxCocoa compile in 64-bit mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:18:28 +00:00
David Elliott
f762ea32ed
Fix wxCocoa compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:14:17 +00:00
Vadim Zeitlin
6b06a7271f
reset selection when sorting the items as they don't make sense after items change order any more and not doing this could also result in having more than one selected item in a single selection control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:50:21 +00:00
Vadim Zeitlin
a9aead31d6
don't allow selecting multiple items in single selection control by changing the focused item with Ctrl-arrows and then pressing Space
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:44:33 +00:00
David Elliott
d23bf09c7f
Implement wxColour constructors to match other ports by adding char const * and wchar_t const * constructors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:20:40 +00:00
Bryan Petty
5a0ed193cd
Added deprecation warnings to old wxVScrolledWindow functions (in wxVarVScrollLegacyAdaptor), and fixed a minor documentation format error in the wxVScrolledWindow docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:42:39 +00:00
Robert Roebling
fc5eacdb48
wxDataViewCtrl can show tree/list music sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:55:00 +00:00
Robert Roebling
d2505ba254
Getting closer to working tree/list wxDataViewCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:15:03 +00:00
Václav Slavík
50b2d54446
added missing WXDLLIMPEXP_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:59:27 +00:00
Chris Elliott
d96c09df7e
added missing unixfiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:27:22 +00:00
Chris Elliott
392b9a6fba
replace cvsentries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:02:58 +00:00
Robert Roebling
5debbdcf7b
The dataview sample compiles now, but doesn't work yet...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Chris Elliott
1a1f3e4b53
cvs to svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 09:07:05 +00:00
Chris Elliott
e6c0bfec22
move to svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:07:24 +00:00
Bryan Petty
0a82af9b91
Fixed case on LaTeX member function labels.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:06:12 +00:00
Chris Elliott
99bc6ea392
move to svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:03:48 +00:00
Robert Roebling
e0062c047e
New API for wxdataViewCtrl (doesn't run yet).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 00:13:28 +00:00
Vadim Zeitlin
2f6aa043a6
simplify test for 64 bit architectures: just check if the string '64' occurs in the arch string, this also covers more cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 22:31:56 +00:00
Vadim Zeitlin
60edcf4535
added support for broadcasting to UDP sockets (patch 1740266)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:33:11 +00:00
Vadim Zeitlin
bf511d579f
fixed bug which resulted in generation of spurious EVT_RADIOBOX events when a radiobox button was focused but not selected (patch 1739140)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:20:32 +00:00
Vadim Zeitlin
173f3c03a0
rebaked after adding threads/atomic.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:56:52 +00:00
Paul Cornett
cedd7b22f4
indentation cleanup, unused variables, constant expressions, etc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:36 +00:00
Vadim Zeitlin
cde76cf2a9
added wxAtomicInc/Dec() functions (patch 1739486)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:14 +00:00
Vadim Zeitlin
2b753fb4c2
ignore bakefile temp files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:50:35 +00:00
Vadim Zeitlin
37b784f01c
ignore VC++ build files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:49:37 +00:00
Vadim Zeitlin
1a5cd56aac
compilation fix for ANSI build (added #if wxUSE_UNICODE)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:35:42 +00:00
Benjamin Williams
479574aab2
fix for bug #1686328
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 16:42:55 +00:00
Vadim Zeitlin
ebdc834105
test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 11:49:22 +00:00
Václav Slavík
68fb51cd1d
always assert if char<->wxUniChar conversion fails, not only if wxUSE_UTF8_LOCALE_ONLY
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 08:04:31 +00:00
Václav Slavík
30f3757b50
wxStrcoll_String compilation fixes for Dmars and Borland compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:26:35 +00:00
Václav Slavík
4e0a055757
compilation fix for windows compilers: _wrename is declared in io.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:11:46 +00:00
Bryan Petty
7fb870e15b
Added BuildSVN.txt instructions (copied from BuildCVS.txt, with appropriate replacements).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 18:00:32 +00:00
Paul Cornett
2eaf6433f2
get color count from ComputeHistogram, use sprintf for hex conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 17:17:20 +00:00
Jouk Jansen
4f81b96d10
Update OpenVMS setup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 13:20:32 +00:00
Robert Roebling
0cc0ce0688
Upport GNOME print GetTextExtent fix,
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 13:07:01 +00:00
Robert Roebling
a70598d58e
upport wxListCtrl label edit changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:10:04 +00:00
Robert Roebling
602e33659e
Let GtkScrolledWindow handle scroll wheel events.
...
Reset visible range in wxListCtrl after scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:17:40 +00:00
Chris Elliott
1877544c7d
svn cleanup added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 07:58:08 +00:00
Chris Elliott
163d665402
change svn repository
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 07:51:47 +00:00
Paul Cornett
0200fb2788
fix XPM SaveFile for more than 92 colors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 03:08:26 +00:00
Vadim Zeitlin
259a2a7332
removed instructions for adding contrib libraries -- we don't have them any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 10:44:17 +00:00
Julian Smart
f49fd6d0cd
Added SetBitmap, GetBitmap to wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:48 +00:00
Julian Smart
98d9f577ea
Replaced tabs with spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:49:23 +00:00
Benjamin Williams
d16619f8d0
in wxAuiNotebook, prevent unwanted page selection changes during tab drags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:39:22 +00:00
Václav Slavík
b052a864e9
silenced Watcom warning when deleting const pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 12:42:31 +00:00
Václav Slavík
d4e5987995
explicitly cast m_value to the resulting type in wxUniChar's integer conversion operators to silence compiler warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 12:32:10 +00:00
Vadim Zeitlin
56eeb97339
add wxUSE_EDITABLELISTBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 19:23:44 +00:00
Vadim Zeitlin
a989a329db
changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Václav Slavík
87f351de6c
STL compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 11:17:35 +00:00
Václav Slavík
ee90e2641d
XRC: Handle wxFLP_USE_TEXTCTRL in wxFilePickerCtrl handler (patch #1745662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 09:06:35 +00:00
Robin Dunn
f2958fdce5
copy wxAutohacks into main tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:06:00 +00:00
Robin Dunn
194f742fba
copy wxAutohacks into main tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:06:00 +00:00
Robin Dunn
a4027e7487
move wxPython to new trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:05:59 +00:00
Václav Slavík
ec873c943d
fixed wxVsnprintf() to write as much as it can if the output buffer is too short
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 19:28:54 +00:00
Václav Slavík
4d62edfb07
wxUniChar wchar_t handling fixes for Borland, DMC and Watcom compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 19:11:09 +00:00
Vadim Zeitlin
e16916eae4
strip the leading dot from extension if present in GetFileTypeFromExtension()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 17:33:22 +00:00
Václav Slavík
7315ad282d
test wxVsnprintf() printing to both wchar_t* and char* buffers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 17:30:56 +00:00
Julian Smart
dee059c469
Prevent seg fault for older GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:58:58 +00:00
Chris Elliott
68ed8430fa
remove sole makefile.dmc in tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 12:36:25 +00:00
Benjamin Williams
f244aef282
applied patch 1737156 to wxAuiManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:53:57 +00:00
Benjamin Williams
c2291b1f80
in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:37:45 +00:00
Robin Dunn
5c8ac0b6ca
be able to change tabs with arrow keys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 00:22:57 +00:00
Václav Slavík
0081dd7246
fixed FromAscii to work with NULL argument (broken after recent changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 20:01:11 +00:00
Václav Slavík
602a857b25
fixed FromAscii() changes to correctly handle embedded NULs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 19:07:00 +00:00
Václav Slavík
75ce4cb180
return const wxString& from wxFontMapper::GetDefaultConfigPath()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:57:36 +00:00
Václav Slavík
cfa3d7ba83
ANSI+Unicode compatibility fixes to wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:56:00 +00:00
Robin Dunn
3a0b1f421f
Patch from Andrea. Adds focus rectangle on the tabs, and provides
...
best size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:39:41 +00:00
Václav Slavík
d7640339e9
dont use wxChar* arguments in wxHTML API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 17:33:59 +00:00
Václav Slavík
330e8ab901
dont use wxChar* arguments in wxDatePickerCtrlGeneric API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 17:03:42 +00:00
Václav Slavík
46ff9bd5dd
don't use wxChar* arguments in wxLogWindow API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 16:59:06 +00:00
Benjamin Williams
9b36293596
fix for wxAuiNotebook middle-click close (was closing wrong page)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 13:11:19 +00:00
Václav Slavík
fd2be5df8d
fixes to handling of focus changes for toplevel windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:57:17 +00:00
Václav Slavík
42fc0309be
don't assign m_next twice in wxStringIteratorNode ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:52:09 +00:00
Václav Slavík
39c20230ba
1. added default constructors for wxString iterators
...
2. fixed assignment of iterator to iterator that points to a different string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:49:58 +00:00
Václav Slavík
e6310bbc5a
added wxString::FromAscii(char*,size_t) for consistency with FromUTF8()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:36:54 +00:00
Vadim Zeitlin
edc0987174
CanAcceptFocus() now returns true if either the window itself or one of its children accepts focus; added new IsFocusable() to test whether the window itself accepts focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:04:06 +00:00
Václav Slavík
4e21a649f0
fixed typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 08:46:04 +00:00
Václav Slavík
81e9dec6f5
use same names for test suites as the ones in ./test -l
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 07:54:15 +00:00
Vadim Zeitlin
7ffc857fb2
corrected some links
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 01:57:02 +00:00
Vadim Zeitlin
30519b021a
mention wxLogInterposer(Temp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 01:55:56 +00:00
Václav Slavík
5abefd049e
compatibility fix: have wxListKey ctors from C strings so that passing string literals to functions expecting wxListKey works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:50:15 +00:00
Václav Slavík
bd0b594dff
compilation fixes after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:49:19 +00:00
Vadim Zeitlin
7f2bcd064c
use DisableTimestamp() instead of SetTimestamp(NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 19:25:58 +00:00
Benjamin Williams
69f5e42053
added middle-click close to wxAuiNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 17:38:29 +00:00
Paul Cornett
9826452012
block signal handlers, instead of disconnecting, to temporarily disable them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 17:38:13 +00:00
Vadim Zeitlin
ab29bb87b2
don't invalidate the font in SetNativeFontInfo[Desc]() to conform to the documented behaviour (patch 1743548)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 15:55:48 +00:00
Vadim Zeitlin
53a118d6fe
fix wxUniv/MSW compilation with wxUSE_MENUS==0 (patch 1744277)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 15:44:06 +00:00
Benjamin Williams
fd749f4a70
in wxAuiNotebook, code to reduce flicker on page close
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:36:47 +00:00
Vadim Zeitlin
7b1bf3ad2d
added wxLog::DisableTimestamp() to be used as a synonym for SetTimestamp(wxEmptyString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:09:55 +00:00
Benjamin Williams
13aaa50f48
wxAuiNotebook::RemovePage() rewritten; fixes bugs #1737293 and #1737433
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 11:29:18 +00:00
Chris Elliott
d761f75188
tidy up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 10:45:12 +00:00
Václav Slavík
78ecb74822
removed leftover files under contrib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 09:55:57 +00:00
Chris Elliott
721257e14d
more svn script changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 08:32:37 +00:00
Vadim Zeitlin
a15107c002
fix bug in WX_GL_DOUBLEBUFFER handling introduced during the last great refactoring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:53:15 +00:00
Vadim Zeitlin
db23ced867
remove .cvsignore files, they're useless with svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Václav Slavík
21f0762a1a
fixes to wint_t and wchar_t handling in unichar.h (fixes FreeBSD compilation and Mingw compilation with -pedantic)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 20:44:58 +00:00
Chris Elliott
1f3b7817eb
more cvs to svn script changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 17:01:51 +00:00
Chris Elliott
eaf113a4ed
rebuild tex2rtf
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 16:55:59 +00:00
Václav Slavík
13f071c06b
include wxUniCharRef::operator&& unconditionally too, not just wxUniChar one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 14:36:06 +00:00
Václav Slavík
8a02058ab2
added configure check for wcsdup(), there are too many Unix systems without it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 11:58:21 +00:00
Václav Slavík
7e1df0e638
compilation fixes for --with-regex=sys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 10:57:49 +00:00
Václav Slavík
bcbb02480b
compilation fixes for some cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 10:24:09 +00:00
Václav Slavík
bdcb213757
compilation fix if wxLongLong_t is not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 17:53:30 +00:00
Václav Slavík
28efe6544f
don't use C++ comments in C files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 15:07:20 +00:00
Robin Dunn
d8e5b12fe8
fix svn properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:35:17 +00:00
Václav Slavík
d45127a543
removed executable bit on files that aren't executables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:04:34 +00:00
Václav Slavík
9580fdc3b1
wxDFB wxUSE_STL compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 13:55:06 +00:00
Václav Slavík
9ec6078f41
fixed 'url' field extraction to be done for wxHtmlWindow only (bug #1741900 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 12:16:20 +00:00
Chris Elliott
950905affd
svn not cvs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 11:14:05 +00:00
Robin Dunn
fe45b493dc
Merge recent wxPython changes from 2.8 branch to HEAD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 20:50:39 +00:00
Robert Roebling
e31f4da5f0
More const bool (sigh)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:11:25 +00:00
Robert Roebling
39456ee667
Remove const bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:10:25 +00:00
Robert Roebling
75d9e50223
Remove const bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:09:16 +00:00
Robert Roebling
7477f0898c
Remove const bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:05:34 +00:00
Robert Roebling
19f6bff448
Don't use const bool.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:04:37 +00:00
Robert Roebling
1c7ca6a0c8
We don't use "const bool" anywhere, I think.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:03:05 +00:00
Robert Roebling
40e5ebbf98
Upport scrolling changes and mouse wheel changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:55:26 +00:00
Václav Slavík
5e1fd3eb61
clarified global and local config files behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 22:19:38 +00:00
Vadim Zeitlin
8019a67305
remove #if around operator&&(), its needed for other compilers too (Sun CC 5.9) and doesnt seem to hurt the ones which do not need it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 20:27:07 +00:00
Vadim Zeitlin
7062497fde
fix asserts for dropdown items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 20:18:33 +00:00
Vadim Zeitlin
8c714e065c
override DoLog(wxString) and not the deprecated DoLog(wxChar*) in LboxLogger
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:52:29 +00:00
Vadim Zeitlin
788f963310
don't crash in SetBackgroundStyle() if the window is not realized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:36:02 +00:00
Vadim Zeitlin
1c871fe2a4
don't always add wxCAPTION to wxMiniFrame style unconditionally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:10:04 +00:00
Václav Slavík
04fd66c9f7
use wxCRT_VsprintfA name instead of vsprintf, for consistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:41:07 +00:00
Vadim Zeitlin
b1f8fd3b41
make JPEG callbacks extern "C" to fix Sun CC warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:22:49 +00:00
Vadim Zeitlin
291b0f5b14
fix warnings about parameters shadowing member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:22:20 +00:00
Vadim Zeitlin
9a9b00b57f
pointer to literal string should be const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:20:35 +00:00
Vadim Zeitlin
b99891b0c8
suppress virtual function hiding warnings due to the existence of several DoLog() and DoLogString() overloads of which only one is overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:09:03 +00:00
Vadim Zeitlin
43a7c679ac
regenerated after today's changes, it should now handle Sun CC under Linux correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:08:09 +00:00
Vadim Zeitlin
8802d332af
remove -mt and/or -pthread when mixing Sun CC and gcc once at the end instead of doing it several times in the middle as these options can appear in pkg-config output for just about anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:06:12 +00:00
Vadim Zeitlin
ab595566b1
use -R instead of -Wl,-rpath with Sun CC under Linux too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:23:54 +00:00
Vadim Zeitlin
e3b13be45a
fixed defining FOOCXX symbols (was broken because AC_LANG_POP was done too soon and so variable name for C and not C++ was wrongly used); changed mwcc and xlc detection to use the common macro instead of duplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:17:30 +00:00
Vadim Zeitlin
9435c35e40
added support for using Sun CC to link shared libraries under Linux too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:15:33 +00:00
Vadim Zeitlin
999020e1bb
fix Sun CC warnings about converting literal strings to non-const char *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:09:18 +00:00
Vadim Zeitlin
7d10ec93c4
suppress Sun CC warnings about casting between C++ and extern C function pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 15:11:27 +00:00
Vadim Zeitlin
3bc8edd575
fix Sun CC warning about name clash between the method parameters and member variables argc/argv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:52:37 +00:00
Vadim Zeitlin
80f8355d66
better Sun CC fix: put the function in anonymous namespace instead of making it global
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:48:28 +00:00
Vadim Zeitlin
2dab040a1d
Sun CC doesn't allow calling static function from template instantiations so rename ConvertStringToBuf() to wxInternalConvertStringToBuf() and make it extern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:46:37 +00:00
Vadim Zeitlin
15e5ef78ae
test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:25:10 +00:00
Vadim Zeitlin
b69ae27a05
don't redefine __WCHAR_TYPE__ when using Sun CC if it's already defined (as is the case at least under Linux)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:22:05 +00:00
Vadim Zeitlin
be3dcfb31a
Sun CC (at least version 5.9) has wint_t as a separate type too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:59:48 +00:00
Vadim Zeitlin
2686d9339b
fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:58:05 +00:00
Václav Slavík
f6e3890101
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:55:42 +00:00
Václav Slavík
35fc0be75c
added documentantion for wxMemoryFSHandler::AddFileWithMimeType()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:56:19 +00:00
Václav Slavík
4fc1c0f091
made wxUSE_UNICODE=1 the default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
Robert Roebling
4a3f5ad0f5
Forgot this part of the event change patch from 2_8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:03 +00:00
Václav Slavík
a342cb00c5
wxUSE_STL compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:30:51 +00:00
Václav Slavík
57c42b6227
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:28:59 +00:00
Robert Roebling
e0cfa71527
Upport: Always use GdkPixbuf in wxBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:26:48 +00:00
Václav Slavík
d3e9a6f3bf
have only one string form of operator<< in output streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:12:21 +00:00
Václav Slavík
50e2789913
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:10:36 +00:00
Robert Roebling
929bd94ee1
Upported event filter patch for wxTextCtrl::SetValue()
...
(work around doesn't work anymore with recent versions
of GTK+).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:53:42 +00:00
Robert Roebling
696a18c7e7
Correct gridlines drawing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:11:47 +00:00
Robert Roebling
75aa53c927
Call clipping region methods from base class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 09:18:30 +00:00
Paul Cornett
dd2422b320
gtk_widget_destroy does not unref the widget unless it's a TLW or in a
...
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
0d5c7b2dca
document CreateConfig() (extended patch 1739374)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 02:01:40 +00:00
Vadim Zeitlin
76de6a6e20
don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 22:29:07 +00:00
Vadim Zeitlin
76bfdc9ad9
changed AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:56:50 +00:00
Vadim Zeitlin
414721d003
fix STL build (don't rely on implicit wxString to char* conversions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:45:46 +00:00
Vadim Zeitlin
7b673beff4
fixed compilation in Unicode build (it was silently disabled before...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:34:53 +00:00
Vadim Zeitlin
b05fde97c5
fix compilation in ANSI STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:29:39 +00:00
Robert Roebling
2fe90784ae
Added minor clarification to the wxListBox events used
...
by wxVListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 19:49:26 +00:00
Vadim Zeitlin
c7c441ccee
blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 18:14:29 +00:00
Paul Cornett
420455b510
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 16:33:48 +00:00
Vadim Zeitlin
6164301821
pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:21:03 +00:00
Julian Smart
700614e05e
Copied fonts in art Clone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:16:10 +00:00
Julian Smart
fc17828ab2
Added font setting and ability to determine AUI notebook height for a given page height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Julian Smart
47fe7ff382
Added DetachOldLog to avoid destruction of old log target
...
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:44:38 +00:00
Vadim Zeitlin
dc99a350df
document that wx[HV]SCROLL don't work with native controls not TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:50:34 +00:00
Vadim Zeitlin
b9e7f0115d
check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:44:05 +00:00
Vadim Zeitlin
68ce1d3499
fix to the previous commit: percent signs have to be escaped first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:16:57 +00:00
Paul Cornett
18ac7bef9e
fix reversed left/top variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 03:43:01 +00:00
Vadim Zeitlin
d81f6eac73
fix handling of '#' in file names (patch 1740328)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 00:05:01 +00:00
Vadim Zeitlin
d6a41cc7d5
single line wxTextCtrl fg colour fix is now in 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:29:07 +00:00
Paul Cornett
4b01ba739a
fix reparenting a control into wxToolBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 17:49:13 +00:00
Julian Smart
9b7835a516
Added extra width for controls to avoid edge being clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 15:36:26 +00:00
Julian Smart
079b2f6ba2
Fixed uninstalled toolbars in native toolbar mode, with a method for
...
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00
Julian Smart
a201463482
Fix for non-CG mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 13:21:46 +00:00
Václav Slavík
7978bc7293
remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:47:51 +00:00
Václav Slavík
e0a050e347
more changes to make wx compile without implicit wxString->char* conversion (for STL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
d38f70b249
use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:09:14 +00:00
Mart Raudsepp
be0ba55041
Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 04:22:56 +00:00
Vadim Zeitlin
ba0f12ef24
mention changes from 2.8 branch too, at the very least keeping the 2 versions of this file on 2 branches in sync facilitates backporting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:16:17 +00:00
Vadim Zeitlin
eb86e7755e
don't free "static" alpha data (patch 1738966)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:10:35 +00:00
Václav Slavík
90a77e6484
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 20:02:49 +00:00
Václav Slavík
531814a7fb
added missing #if wxUSE_STDPATHS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:58:56 +00:00
Václav Slavík
00711afdd6
return wxString from wxDynamicLibrary::GetDllExt()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:29:07 +00:00
Václav Slavík
593177c566
use wxString in wxFileSystem::FindFileInPath()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 17:39:27 +00:00
Václav Slavík
cb296f303e
compilation fix for non-STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 16:06:26 +00:00
Julian Smart
8d1547ef46
Finally fixed control scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:08:13 +00:00
Václav Slavík
d993e05b2d
wxLog::Get/Settimestamp() now use wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 14:51:10 +00:00
Václav Slavík
a5398eb9c4
return wxString from wxTextBuffer::GetName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 13:54:23 +00:00
Václav Slavík
dc65c743e5
changed wxFFileOutput/InputStream ctor 'mode' argument to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:57:48 +00:00
Václav Slavík
35f1f4f7ea
changed wxGLContext::SetColour() argument from wxChar* to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:54:36 +00:00
Václav Slavík
09f0108224
made the code a bit more readable by not using _T() around to-be-generated code snippets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:30:20 +00:00
Václav Slavík
5881d27bcf
made the code a bit more readable by not using _T() around to-be-generated code snippets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:22:08 +00:00
Robin Dunn
993f08452d
Coerce to floating point to fix ResampleBicubic. See bug #1736953 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:39:13 +00:00
Robin Dunn
d1b736b796
Send the calendar and date changed events to the datepicker ctrl first
...
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:34:56 +00:00
Mattia Barbon
ad877f92c6
Must update iterator to avoid infinite loop
...
in case backend initialization fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:23:09 +00:00
Václav Slavík
c5d7b81ecf
improve XRC loading performance on Unix by avoiding MIME database loading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:43:34 +00:00
Václav Slavík
dd25c6ee10
make our vsnprintf() implementation work for ANSI version too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 16:14:25 +00:00
Václav Slavík
300b44a933
fixed wxString iterators linked list corruption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 08:55:11 +00:00
Mart Raudsepp
6cfdfed86b
gtk_border_free is for freeing GtkBorder's, not g_free.
...
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 06:03:50 +00:00
Mart Raudsepp
9ce97705fc
Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 04:54:41 +00:00
Václav Slavík
8eb3a3a923
when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530 ; this is standard behaviour when selecting text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:52:40 +00:00
Václav Slavík
117f4046d7
fixed selecting part of word from right to left in wxHTML (patch #1719530 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Mattia Barbon
416a4799e5
Linking fix: g_isIdle is for GTK1 only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 11:02:03 +00:00
Václav Slavík
69cce15178
determine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of creating it; this dramatically improves startup times of XRC applications on Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 10:59:01 +00:00
Václav Slavík
81c882b613
don't make read-only text controls editable when enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 09:29:41 +00:00
Vadim Zeitlin
d476275306
correct setting of pSymbol->SizeOfStruct (patch 1737789)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:51:36 +00:00
Vadim Zeitlin
b01204c942
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:57:25 +00:00
Václav Slavík
aff909dd4f
fixed crash when setting locale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 19:11:40 +00:00
Václav Slavík
994f04a3f2
wxUSE_STL compilation fixes for wxGenericFontDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:32:09 +00:00
Václav Slavík
410390cf09
removed code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:15:16 +00:00
Vadim Zeitlin
80820772ad
changed wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings from VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:45:01 +00:00
Václav Slavík
f966a73d40
fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:29:52 +00:00
Vadim Zeitlin
1663c65500
show the unhandled exceptions in debug build instead of silently eating them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:20:16 +00:00
Vadim Zeitlin
724b119a15
replace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName(wxString&) with GetUserReadableName() and MakeNewDocumentName() which return wxStrings directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:49:56 +00:00
Václav Slavík
6ae3ead6f0
always compile at least a minimal version of wxStandardPaths class, it's used too often
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:21:57 +00:00
Václav Slavík
c560da981a
use char* instead of wxChar* for XRC IDs to save space; GetXRCID() takes wxString argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:12:51 +00:00
Vadim Zeitlin
5d88a6b579
added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:08:51 +00:00
Vadim Zeitlin
149210fbba
documented WXUSING/MAKINGDLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 14:13:00 +00:00
Vadim Zeitlin
21686ff448
documented __WXDFB__ and __WXGTK2n__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 13:38:21 +00:00
Jouk Jansen
28ffb1f22f
Committing in .
...
Changes to make OpenVMS compile WX
Modified Files:
wxWidgets/include/wx/wxcrt.h wxWidgets/include/wx/wxcrtbase.h
wxWidgets/src/common/wxcrt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 12:52:25 +00:00
Václav Slavík
a33c7045d1
don't put invalid UTF-8 data into wxString if Printf() fails in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 11:26:29 +00:00
Václav Slavík
63415a83f7
(blind) compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 09:57:57 +00:00
Vadim Zeitlin
8f0b4082f4
corrected strptime() test, don't use NULL pointer as this crashes under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 00:29:54 +00:00
Paul Cornett
056b067f47
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 06:34:39 +00:00
Paul Cornett
823fb291ae
remove gtk1 code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:56:47 +00:00
Václav Slavík
37a4076eb5
fixed wxComboBox::Replace() to correctly use UTF-8 string even in ANSI build and to compile with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:54:26 +00:00
Vadim Zeitlin
63a09523da
check if strptime() works correctly and disable its use if it doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 00:56:35 +00:00
Václav Slavík
8d6c5e4f3f
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +00:00
Václav Slavík
049908c573
make wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:29:23 +00:00
Václav Slavík
6b6bd02c07
don't propagate wxChildFocusEvent outside of wxTLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:35:57 +00:00
Vadim Zeitlin
105260e89f
overload wxStrpbrk() for more types and add tests for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:31:09 +00:00
Václav Slavík
1757c449c4
removed redundant #include <dynarray.h>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:09:41 +00:00
Vadim Zeitlin
f291c98e52
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT as this gives more detailed information in case of a test failure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:29:02 +00:00
Vadim Zeitlin
af9c764aa1
strWC used in the tests was supposed to be a wide string, not a narrow one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:21:40 +00:00
Vadim Zeitlin
10de049c42
Unicode compilation fix: wxStrlocale() doesn't take wide strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:19:24 +00:00
Vadim Zeitlin
7c37eb10fd
added wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix crashes under 64 bit architectures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 11:32:44 +00:00
Václav Slavík
e9c7391947
added missing #includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 10:52:10 +00:00
Václav Slavík
12e8247795
use wxString in wxDateTime methods (only partially done)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 18:41:27 +00:00
Václav Slavík
a007b626a7
wxUSE_UNICODE_MSLU compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 17:08:23 +00:00
Jouk Jansen
84a90fc847
Updates for VMS
...
Modified Files:
setup.h_vms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 13:32:33 +00:00
Vadim Zeitlin
2e1338ee4f
update from Yuri Chornoivan
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 12:08:35 +00:00
Václav Slavík
ab6ef7e6e8
more STL fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 11:21:58 +00:00
Václav Slavík
f62262aacf
ANSI/Unix build compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 10:11:55 +00:00
Václav Slavík
062ccd654a
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 06:43:59 +00:00
Václav Slavík
541aa82180
fixed VC6 warnings about non-dllexported members in dllexported classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:59:11 +00:00
Václav Slavík
ae51cebbe6
compilation fix for gcc 3.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:57:01 +00:00
Julian Smart
f728025eae
Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 17:16:59 +00:00
Václav Slavík
4e5b3a4eb5
added long int operators to wxUniChar (fixes wxMac compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:16:14 +00:00
Václav Slavík
5bce3e6feb
use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:11:15 +00:00
Václav Slavík
01c0981e75
added wchar_t, wxUniChar overloads for wxStrchr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:00:09 +00:00
Václav Slavík
19984725d5
VC6 doesn't like 'return callToVoidFunc();' statements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 10:06:38 +00:00
Václav Slavík
ec74e45971
gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:49:10 +00:00
Václav Slavík
faa60a4f0b
OS X compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:28:54 +00:00
Václav Slavík
8728cae3bf
OS X compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:12:37 +00:00
Václav Slavík
872ef9434a
ATTRIBUTE_PRINTF doesn't work with wchar_t* format strings in gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:34:45 +00:00
Václav Slavík
0bf751e7e9
compilation fixes for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:10:37 +00:00
Václav Slavík
3a3dde0d44
use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:08:13 +00:00
Václav Slavík
b724bafee0
fixed signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:38:37 +00:00
Václav Slavík
d23849361d
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:33:45 +00:00
Václav Slavík
eb9524ca66
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
...
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 20:44:27 +00:00
Václav Slavík
8650108199
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Václav Slavík
52de37c78f
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
...
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00
Vadim Zeitlin
c475be6dfa
make PositionTextCtrl() virtual (patch 1734405)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 16:32:06 +00:00
Julian Smart
351c06476d
Faster hex encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:52:47 +00:00
Vadim Zeitlin
4871d34290
initialize the variable as XtVaGetValues() may not do it apparently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:02:56 +00:00
Vadim Zeitlin
e37e082ef2
generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 11:05:35 +00:00
Vadim Zeitlin
0c1602b8ad
fix custom draw bug for controls with only one column (patch 1731024)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:57:25 +00:00
Vadim Zeitlin
fdb9d2b867
fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:53:26 +00:00
Vadim Zeitlin
c4cd8712cd
cancel dragging if Esc is pressed (patch 1733657)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:50:40 +00:00
Václav Slavík
1fc10687bf
added wxUniChar::AsUTF8() for easy conversion in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 20:17:34 +00:00
Stefan Neis
9a5bfa1eab
Try using UTF-8 on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:48:12 +00:00
Julian Smart
385960a91f
Small typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 12:41:22 +00:00
Julian Smart
125892b804
Init fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robin Dunn
b3cbba47eb
Yielding from a non-gui thread needs to bail out, otherwise we end up
...
possibly sending events in the thread too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
1a75935d3f
Don't insert a newline when we get text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Chris Elliott
d9605e634b
missing closing bracket broke tex2rtf
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 08:44:28 +00:00
Václav Slavík
cacd819d0e
removed unused glob.inc file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 04:46:03 +00:00
Robert Roebling
c0a66d9237
Added initial OS X implementation of the wxDataViewCtrl
...
in its current tabular form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 23:40:24 +00:00
Václav Slavík
aec1621e4f
marked WinCE implementations of wxOpen etc. functions as dllexported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 15:56:44 +00:00
Václav Slavík
eb6cb20793
fixed wxScanf() etc. to compile with Visual C++ again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 13:48:24 +00:00
Vadim Zeitlin
4c2a8d899d
compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 17:31:10 +00:00
Václav Slavík
c41845733d
don't crash when using wxHtmlWidgetCell in wxHtmlListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Vadim Zeitlin
22cc2fd905
update from Hakki Dogusan
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 18:11:39 +00:00
Vadim Zeitlin
1e96933183
fix typo in Selecting() description (bug 1726270)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:49:41 +00:00
Vadim Zeitlin
e0954e729d
rename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole for consistency with wxAppBase/wxApp and to fix the bug 1729377 (crash when using timers under Unix in console app); also #define wxApp as wxAppConsole instead of declaring it as a real class in console build to avoid problems with ODR violation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:39:23 +00:00
Vadim Zeitlin
74e10fcc6a
reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Václav Slavík
c49f887978
wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines for CRT functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:56:50 +00:00
Václav Slavík
48a2e193ec
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:51:25 +00:00
Vadim Zeitlin
45344b3880
provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:50:43 +00:00
Vadim Zeitlin
0a7ce61e65
add wx/unix/private directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 11:02:29 +00:00
Václav Slavík
c6255a6eab
removed unneeded wxVaCopy calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:54:16 +00:00
Václav Slavík
5a20d2ced0
changed wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary conversions; added compatibility code so that user code overriding these with char* or wchar_t* argument continues to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:04:05 +00:00
Václav Slavík
f8bcb37d99
changed wxFileSelector() etc. functions to use wxString (so that any forms of strings can be used with it, not just wxChar*), while still preserving compatibility with passing NULL to them)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 09:53:17 +00:00
Václav Slavík
a862159daa
added comment explaining the condition for compiling manifest into resources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 09:01:37 +00:00
Vadim Zeitlin
c73cff0535
mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:00:41 +00:00
Vadim Zeitlin
8f35356e49
initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:35:40 +00:00
Vadim Zeitlin
c253e005aa
corrected wrong change description: raw RGB support was already there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:13:43 +00:00
Vadim Zeitlin
57beadd2b7
added raw RGB support and colour normalization to PNM handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:09:51 +00:00
Vadim Zeitlin
aad2787407
add ctor overloads for all kinds of strings to fix using strings implicitly as wxDataFormat objects after the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:03:43 +00:00
Julian Smart
de6a9bb6c1
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:23:02 +00:00
Václav Slavík
5b87170050
use iterators in wxStaticText wrapping and escaping code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 17:21:46 +00:00
Vadim Zeitlin
ad8d42f83c
factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODispatcher class (patch 1729395)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:51:05 +00:00
Vadim Zeitlin
f463afe347
the same event handler class, not object, can be used with multiple windows (patch 1728835)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:34:47 +00:00
Vadim Zeitlin
94dd22873e
upported changes from 2.8.5 (at the very least this simplifies merging between branches)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:23:41 +00:00
Vadim Zeitlin
b013c97102
enable non-top tabs workaround for Vista too (replaces patch 1724221)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:17:46 +00:00
Vadim Zeitlin
66160760e1
added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:56:36 +00:00
Václav Slavík
24d68c95ad
partially fixed passing wxUniChar as vararg argument (non-ASCII characters are still broken in UTF8 build, other cases work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:45:19 +00:00
Václav Slavík
ba98e032a7
implemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8 are detected and optimized in wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:42:57 +00:00
Vadim Zeitlin
1d5fda5dc6
extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 22:05:12 +00:00
Vadim Zeitlin
1cd5e95c1c
compilation fix: wxColour::GetColor() returns const object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:21:01 +00:00
Vadim Zeitlin
e0743e63ea
suppress warnings about void* to uint conversion losing precision (under 64 bit architectures)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:19:28 +00:00
Vadim Zeitlin
1878d1ecef
also correct run-time check for gtk_message_dialog_format_secondary_text() availability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 12:16:05 +00:00
Václav Slavík
c1e10a22b6
use wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-31 13:08:44 +00:00
Václav Slavík
7652a41dc7
test if wxString(NULL) ctor creates empty string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-31 11:00:06 +00:00
Václav Slavík
a1eb65c246
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 22:02:19 +00:00
Robert Roebling
b9b8b59c0d
Forgot to commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:03:26 +00:00
Robert Roebling
2a5e6d1b3a
Experimenting with cell attributes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
Robert Roebling
b086d55fe1
Implement for selection code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 20:31:53 +00:00
Václav Slavík
abde328337
fixed to the newly added crt.h header:
...
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 14:03:45 +00:00
Václav Slavík
6256849fdf
changed wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any unnecessary conversions in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:55:09 +00:00
Václav Slavík
6e5f6c7c60
changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid unnecessary conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:50:36 +00:00
Václav Slavík
13e24d7987
wxchar.h doesn't have to be C file anymore, it's C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:43:27 +00:00
Václav Slavík
6e9b091980
wxGTK_CONV -> wxGTK_CONV_SYS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:14:13 +00:00
Václav Slavík
c1d028f225
put GtkArray into anonymous namespace, the name is too generic to risk conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:56:41 +00:00
Václav Slavík
7e9b47df4f
1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don't make unnecessary copies in GtkArray in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:53:51 +00:00
Václav Slavík
6679eeeb9b
changed trivial accessors to return const wxString& instead of wxString object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:40:05 +00:00
Robert Roebling
c6538cfea9
Add wx/crt.h redirecting to wx/wxcrtvarargs.h
...
This should probably also be installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 11:58:30 +00:00
Václav Slavík
ccfc71271d
restored wxColour ctor taking C string (now in both char* and wchar_t* versions): it is needed e.g. when doing wxPen("blue",1,wxSOLID)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 11:57:40 +00:00
Robert Roebling
c7cf729fe4
Correct new_order index in RowsReordered().
...
Only call RowsReordered() if index was not empty
before.
Get some more memory things right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 11:40:36 +00:00
Václav Slavík
e86d4e59c1
use wxString instead of wxChar* in wxColour::Set/FromString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 10:29:12 +00:00
Václav Slavík
092793cb6d
compilation fix for --disable-compat28
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 17:02:10 +00:00
Julian Smart
b380533ca2
Give the correct colour for notebook pages under Vista with the default theme,
...
if we're using a solid colour background. wxUxThemeEngine::GetThemeColor doesn't
return the correct colour for Aero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 13:15:33 +00:00
Jouk Jansen
65d722ba54
OpenVMS build update
...
Committing in .
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 09:03:28 +00:00
Robert Roebling
b3f62dd521
Invalidate best size after string change in wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 08:09:03 +00:00
Robert Roebling
a29d690d6e
Doc update.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 14:49:22 +00:00
Robert Roebling
1821abd1ce
Implemented dataview_model notification event to the ctrl
...
(and then the user).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 14:46:52 +00:00
Robert Roebling
63415a4212
Removed wxDataViewViewColumn since it is redundant.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 13:47:49 +00:00
David Elliott
7c5a378ff2
Implement mouse entered, exited, and synthesize move events while the mouse is inside.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 04:22:10 +00:00
David Elliott
ae04c0f156
Include wx/filedlg.h when not WX_PRECOMP.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 02:31:54 +00:00
David Elliott
a24aa4279a
Allow many Objective-C classes to be uniquified at runtime.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:52:04 +00:00
David Elliott
931d76980e
Add implementation of Objective-C class name uniquifying.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:28:35 +00:00
Robert Roebling
3b7ab6bda8
Upport latest changes from 2_8 branch (print dialog
...
values settable and clipping)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:27:58 +00:00
Robert Roebling
ff9bb105a0
Correct GTK version check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:06:47 +00:00
Paul Cornett
1529bc41dc
restructure fullscreen code dealing with hiding bars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 18:47:53 +00:00
Stefan Neis
585892aac6
Another compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:40:39 +00:00
Vadim Zeitlin
4efffd8750
fix typo: s/radion/radio/
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 15:00:56 +00:00
Stefan Neis
6fad7ae1d5
Added declaration of new method (still to be implemented).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:15:25 +00:00
Stefan Neis
eca4774075
Added missing include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:14:16 +00:00
Vadim Zeitlin
f1a0855d24
GetMenuCount() returns size_t, not int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 10:23:20 +00:00
Robert Roebling
91fd8ba770
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 08:09:24 +00:00
Stefan Csomor
fa15eac7ec
mac complaining about const to non-const cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 05:45:52 +00:00
Václav Slavík
372bed0a2b
compilation fix: can't use wxUniCharRef in switch statement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 20:29:14 +00:00
Robert Roebling
4b57db792c
Really don't do anything (including not setting the
...
tool's state incorrectly) if pressing on a pressed
radio tool in a toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 19:19:34 +00:00
Julian Smart
921dd444fe
Fix for previous patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 16:51:53 +00:00
Julian Smart
99be3b7c7c
Made toolbar background rebar-like on Vista. Solid grey is OK on XP but jars
...
badly in Vista.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:54:44 +00:00
Vadim Zeitlin
81ec6f01f2
compilation fix for non-PCH build, include wx/wxchar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:20:41 +00:00
Václav Slavík
6954a1e2c9
implemented wxActivateEvent and restoring focus after a TLW that owned it was destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 12:20:25 +00:00
Paul Cornett
c821db16e6
Remove unneeded wxTLW child inserter function.
...
Simplify wxFrame child inserter.
Use the same signature for all the child inserters.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 05:08:18 +00:00
Vadim Zeitlin
cc67d082f7
deal correctly with having too few items in wxFlexGridSizer (this is not an error, more items could be added later): don't crash and don't assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 01:19:17 +00:00
Vadim Zeitlin
f4f963f4a5
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:53:12 +00:00
Vadim Zeitlin
d76a558d4d
added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:52:00 +00:00
Vadim Zeitlin
4dfbedd3f5
fix unreachable code warning in GetUntranslatedString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:46:20 +00:00
Vadim Zeitlin
a0826b119e
disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 23:53:05 +00:00
Vadim Zeitlin
2afb9e1690
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
...
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
for this the real dialog creation is now done on in ShowModal() in all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +00:00
Vadim Zeitlin
f3d32879d6
fix DLL export declaration (adv, not core)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:42:25 +00:00
Vadim Zeitlin
aea33a3e85
don't create wxEventLoop in Initialize(), it's too early to do it there -- wait until it's really needed in MainLoop()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:28:31 +00:00
Vadim Zeitlin
a9b9495bc0
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:59:56 +00:00
Vadim Zeitlin
87b66c2838
s/wxStaticIcon/wxStaticBitmap/g (bug 1724527)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:56:31 +00:00
Vadim Zeitlin
bfd67dca3a
include wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 09:57:47 +00:00
Vadim Zeitlin
bc5e942bf3
added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:47:29 +00:00
Vadim Zeitlin
a3e70e1f3b
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:37:22 +00:00
Vadim Zeitlin
84281b92d5
added wxAppTraits::CreateConfig() (patch 1721149)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:50:54 +00:00
Vadim Zeitlin
d71a2d7863
use a different indicator when binding parameters and columns (patch 1718474)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:27:40 +00:00
Vadim Zeitlin
d0bc78e2bf
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
b4ff336e1d
fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:58:09 +00:00
Vadim Zeitlin
86d870753c
don't crash in dtor if the dialog had never been shown (patch 1723848)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:38:27 +00:00
Václav Slavík
e0b3b9d044
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
Robert Roebling
befda04080
[ 1712381 ] CRASH: closing floating panel on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robert Roebling
b8a922d0d3
[ 1721029 ] [GTK] memory leak in wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:48:37 +00:00
Vadim Zeitlin
2ddff00c92
don't define wxEventLoop class differently in GUI and base, this breaks the
...
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:30:01 +00:00
Vadim Zeitlin
30c15c1d73
remove unused static function (avoids a warning about it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:02:51 +00:00
Vadim Zeitlin
659863d8a7
use wxCoord with GetTextExtent(), not long (the long overloads are deprecated and not available at all with 2.8 compatibility turned off)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:00:35 +00:00
Vadim Zeitlin
35f94ffd66
don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:45:37 +00:00
Vadim Zeitlin
767e083562
pass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:38:40 +00:00
Vadim Zeitlin
2b232d202a
added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:36:24 +00:00
Vadim Zeitlin
b0bf0e50ea
remove GetStandardCmdLineOptions() which is not needed for wxGTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:34:10 +00:00
Václav Slavík
fbaf7d4513
added another needed wxOnAssert overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:24:42 +00:00
Václav Slavík
0accd1cfe8
1. make debugging macros compatible with ANSI build even in Unicode build (i.e., no need to use _T() in message strings)
...
2. save space in binary by using ANSI literals for filenames and expression strings in debug macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:02:57 +00:00
Václav Slavík
a64be16ef8
return reference to non-temporary wxString instance from wxGetTranslation() even when not translating
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 17:44:37 +00:00
Václav Slavík
fe4a282956
debug messages don't need translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 14:27:16 +00:00
Vadim Zeitlin
c0bfefb6cf
enter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 14:05:46 +00:00
Václav Slavík
4a32fcf155
compilation fix: wxcrt.h, not crt.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 18:44:34 +00:00
Paul Cornett
e36a8aff9a
simplify client size calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:35:15 +00:00
Paul Cornett
ab7eba4c38
initialize m_sizeSet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:32:50 +00:00
Robert Roebling
fc6557a6f5
Implemented dropdown items in wxToolBar for wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 23:21:47 +00:00
Paul Cornett
59678f3fae
move m_sizeSet out of wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 18:25:15 +00:00
Paul Cornett
949ff63e2f
simplify DoSetClientSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 17:34:42 +00:00
Vadim Zeitlin
ba705c09b4
rebaked after evtloopmsw.cpp removal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 13:32:12 +00:00
Vadim Zeitlin
54f6914375
document wxLaunchDefaultBrowser() scheme handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:51:52 +00:00
Robert Roebling
d545f8030a
Prepend file:// if the URI in wxLaunchDefaultBrowser()
...
has no scheme and the local file exists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:38:34 +00:00
Vadim Zeitlin
7239c22f2b
restore WX_UNICODE after building ANSI packages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 00:43:18 +00:00
David Elliott
b181f9a580
Implement a hack so the correct wxGUIEventLoop class will be used.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 23:02:55 +00:00
David Elliott
3a4721954c
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:58:19 +00:00
David Elliott
c393881600
Include sys/types.h from selectdispatcher.h to ensure that fd_set is declared.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:19:37 +00:00
David Elliott
e94cd97dd7
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
...
logging will work even if wxWidgets is reentered after being cleaned up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:17:06 +00:00
David Elliott
879180b655
* Add public wxApp::sm_isEmbedded flag like on wxMac. Default initialization
...
to true but a plugin can set it to false to cause wxCocoa to not initialize
things like the application delegate or the menubar manager.
* Fix call to [NSNotificationCenter removeObserver:] to use the correct object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 19:52:14 +00:00
Vadim Zeitlin
bacbf21352
we don't need status bar in the MDI children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 17:29:16 +00:00
Vadim Zeitlin
10816efb2c
added virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows to look for the items in the active child when giving help for the current menu item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 17:03:38 +00:00
Vadim Zeitlin
722ed5bed5
removed unused statusbar parameter from wxFrameBase::ShowMenuHelp()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:44:31 +00:00
Vadim Zeitlin
0d7c4404ac
don't give debug messages about WM_MDISETMENU failure if there was no error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:33:10 +00:00
Vadim Zeitlin
b38e5da178
don't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:27:25 +00:00
Vadim Zeitlin
659f4d7615
LaTeX syntax and links corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:17:22 +00:00
Vadim Zeitlin
e2985da831
fix warning about unused rc variable in release builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:01:43 +00:00
Vadim Zeitlin
68d2c3bedc
call wxAppConsole::CleanUp() from the derived class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:41:06 +00:00
Vadim Zeitlin
82a4f054a9
delete m_mainLoop on exit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:40:10 +00:00
Vadim Zeitlin
666e33ab46
do use the font in DoGetTextExtent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:21:47 +00:00
Vadim Zeitlin
802e382ff1
compilation fix after wxString changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:19:35 +00:00
Vadim Zeitlin
d1ae263893
override DoGetTextExtent instead of redefining GetTextExtent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:02:17 +00:00
Vadim Zeitlin
81df6af392
undid unnecessary renaming of src/msw/evtloop.cpp to evtloopmsw.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 14:58:11 +00:00
Julian Smart
cc91438c0f
Allow negative line spacing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 12:31:55 +00:00
Paul Cornett
93de378435
gtk version check should be runtime, not compile time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 17:02:14 +00:00
Václav Slavík
442cd17f74
removed unused iterators ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 15:31:55 +00:00
Robert Roebling
fa4f4c58ea
Correct landscape printing in wxPageSetupDialog
...
(upport from 2.8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:57:14 +00:00
Václav Slavík
58227f65ca
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 06:17:29 +00:00
Robin Dunn
0b0849b5a5
Forward port recent changes on the 2.8 branch to HEAD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:39:42 +00:00
Robin Dunn
f6342fb5e6
Apply parts of patch #1719888 to fix compilation on Mac and with
...
monolithic builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:12:40 +00:00
Václav Slavík
d6cb12871f
fixed CDATA processing to convert the content to output charset, it should be treated just like text in this respect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 22:35:17 +00:00
Václav Slavík
12058e0cb5
return const wxString& instead of wxString from the accessor methods that allow it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 20:26:41 +00:00
Václav Slavík
352d9b8957
fixes for STL build without implicit wxString->char* conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 18:07:05 +00:00
Václav Slavík
26296ac997
wrap all handlers in single extern "C" section instead of lots of them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 18:03:23 +00:00
Stefan Neis
d6adfdf934
Minor cleanup ( _ -> \_ ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 15:41:58 +00:00
Václav Slavík
2c6725e622
restored accidentally commented-out code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 13:42:23 +00:00
Robert Roebling
134b124794
Compilation without threads.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 13:08:09 +00:00
Jouk Jansen
0f0223d38a
OpenVMS changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 10:04:24 +00:00
Robert Roebling
729b47568a
[ 1718338 ] wxToolBarGTK: Implement tool right-click handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:51:23 +00:00
Václav Slavík
b5ef33b2ae
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:45:01 +00:00
Václav Slavík
98d2df7443
another PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:18:41 +00:00
Václav Slavík
907f2fabf7
Do not follow HTML links if selecting text (patch #1719577 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:17:11 +00:00
Paul Cornett
35d2f1b82e
need to invert offsets for gdk_pixbuf_scale;
...
remove unneccessary and incorrect optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:14:53 +00:00
Paul Cornett
533b005afd
speed up Rescale 5- to 15-fold by using pixbuf scaling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 02:45:01 +00:00
Václav Slavík
155c2f6c82
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 16:23:28 +00:00
Václav Slavík
db18be5792
added missing operators for int and unsigned char
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 15:02:31 +00:00
Václav Slavík
be39d6f592
make operators for comparing wxString and wx[W]CharBuffer available in both builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:54:25 +00:00
Václav Slavík
5d0fac27c4
added operators for comparing wxString to wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:50:46 +00:00
Václav Slavík
98cf46c8d2
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:28:47 +00:00
Vadim Zeitlin
8ac09e5213
removed extra semicolons added by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:11:09 +00:00
Václav Slavík
b0c4d5d792
fixed non-const wxString iterators to work when a character is changed to another with different UTF-8 sequence length
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:16:01 +00:00
Vadim Zeitlin
549b95b3de
added wxTimer test (now that it works in console applications too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:15:52 +00:00
Václav Slavík
c67b782d27
reverted accidental commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:11:31 +00:00
Václav Slavík
6f207e6699
compilation fixes for --disable-compat28
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:01:19 +00:00
Vadim Zeitlin
f35c88fcca
removed unused any more file (replaced by wxSelectDispatcher)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:00:38 +00:00
Václav Slavík
19817fd33e
fixed HTML entities parsing broken by wxString changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:54:36 +00:00
Václav Slavík
c7dc005723
added wxSTRING_TEXT() convenience macro for defining literals in wx's internal strings format
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:51:34 +00:00
Václav Slavík
dad909f709
make it posible to change the compiler part of objects directory by setting COMPILER_PREFIX make variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:48:26 +00:00
Václav Slavík
c4f6f41c84
fall back to DirectFB's builtin font if no fonts are configured
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:38:19 +00:00
Václav Slavík
402dc2145d
log missing font directories with wxLogDebug, not wxLogTrace, for more visibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:37:03 +00:00
Václav Slavík
cc096b11ea
ignore nonexistent font directories silently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:34:23 +00:00
Václav Slavík
209ce629ac
added explanatory comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:09:44 +00:00
Vadim Zeitlin
65c1133755
use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it but C++ compiler doesn't have it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 00:33:14 +00:00
Vadim Zeitlin
b46b1d59d6
implement event loop for console applications (heavily modified patch 1715735)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
Vadim Zeitlin
9e9f08b5ed
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:35:28 +00:00
Vadim Zeitlin
fddca1dce4
djgpp doesn't have wint_t as separate type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:21:40 +00:00
Vadim Zeitlin
bfd0555665
fixed warning about using deprecated GetTextExtent() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:13:53 +00:00
Vadim Zeitlin
5d465013d6
compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 22:55:09 +00:00
Václav Slavík
dff1625b7d
fixed too restrictive assert: fonts matching is case-insensitive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 16:45:31 +00:00
Roman Rolinsky
4427147544
- undo/redo fixes for moving and cut/paste;
...
- compatibility check for non-container controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 12:24:44 +00:00
Roman Rolinsky
a297dec681
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 10:24:38 +00:00
David Elliott
76adcbf2d1
Remove ObjcPose.h since nothing is using it anymore.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:08:40 +00:00
David Elliott
047c1182f9
Rework idle handling so that NSApplication does not need to be subclassed or posed as.
...
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:00:30 +00:00
Václav Slavík
bfb6847df6
compilation fix for STL implementations that use (const) char* for std::string iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 00:17:32 +00:00
David Elliott
6972616433
Make wxCFRef take a template raw pointer parameter instead of CFTypeRef to ensure it does not get called with a ref holder.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:30:09 +00:00
David Elliott
fd9cd37f66
Implement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
...
Use wxCFRetain/wxCFRelease in wxCFRef where needed.
Use .get() to access m_ptr of a different wxCFRef instantiation instead of making them friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:22:53 +00:00
David Elliott
b4e0eabd78
Added cfref.h containing wxCFRef templated CF ref holding class and related functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:55:58 +00:00
Vadim Zeitlin
598e55d714
another patch bring the docs more up to date (patch 1717776)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:24:12 +00:00
Vadim Zeitlin
62d8ddb2ee
remove gettext docs, they have nothing to do in our cvs (see patch 1713939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:21:00 +00:00
Vadim Zeitlin
3c448b2e88
fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:17:08 +00:00
Vadim Zeitlin
5ebe4b5b56
mention drop down toolbar buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 17:31:16 +00:00
Václav Slavík
075ff4102b
fixed passing of strings to vararg templates in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 17:18:23 +00:00
Stefan Neis
f764e0ed58
Fixed typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 14:11:55 +00:00
Václav Slavík
0dc8d2242c
add test for passing c_str() of temporary wxString to Printf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 10:11:04 +00:00
Vadim Zeitlin
73049b0db3
getting text colour using the themes API doesn't seem to work, revert to using the global system colours for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 03:16:12 +00:00
Vadim Zeitlin
a9a0ceca5b
added support for drop down toolbar buttons (patch 1713470)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:35:49 +00:00
Vadim Zeitlin
884898a79a
apply the table bg colour between the cells too (patch 1713170)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:11:04 +00:00
Vadim Zeitlin
721d183848
fix wxComboCtrl colours under Windows Vista (patch 1710006)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:54:29 +00:00
Vadim Zeitlin
121640d59b
update the samples/platforms which were unchanged since quite a few years apparently (patch 1713939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:43:40 +00:00
Vadim Zeitlin
befba9e4d3
fix compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:40:56 +00:00
Vadim Zeitlin
c06359e617
translate the 'About' string (patch 1717088)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:31:36 +00:00
Vadim Zeitlin
8936f975b4
avoid truncating the colour channels values, this results in warnings when using VC8 debug CRT (patch 1717288)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:28:17 +00:00
Václav Slavík
5487ff0f50
use const wxMBConv& instead of wxMBConv& in public methods so that it's possible to pass in temporary objects;
...
don't use global wxConvUTF8 object internally, it may be unavailable at static objects destruction time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:55:24 +00:00
Václav Slavík
163d9efc6b
avoid conversion to wchar_t* when getting UTF-8 value in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:05:37 +00:00
Václav Slavík
6243633c63
fixed wxSVGFileDC::write() to output UTF-8 even in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:00:52 +00:00
Vadim Zeitlin
643de21414
don't try to create surfaces of 0 size, even if the window size is 0 (as it may happen)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:16:05 +00:00
Robert Roebling
28c513cb25
Set call event.SetEventObject() from commit_cb for wxKeyEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 16:47:03 +00:00
Vadim Zeitlin
81b635b1ef
use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:01:34 +00:00
Vadim Zeitlin
05c5f28144
don't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is being deleted (bug 1660913)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 12:58:55 +00:00
Mart Raudsepp
beed4c4b53
Fix indentation from tabs to spaces in a few lines I accidentally wrote before fixing my editors settings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:39:55 +00:00
Mart Raudsepp
b4e0dd391c
[wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if gtk+ version is new enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:29:07 +00:00
Michael Wetherell
f8fc38322f
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 20:41:44 +00:00
Václav Slavík
c57fe715b2
fixed wxStrto(u)ll to return correct value in endptr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 17:20:17 +00:00
Vadim Zeitlin
cdff92b982
declare variables in the beginning of the block in C files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 15:08:58 +00:00
Václav Slavík
478cbb089e
test wxString::Mid() with non-ASCII strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 11:34:32 +00:00
Václav Slavík
564ab31a53
fixed wxString::Last() to run in O(1), not O(n), in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 11:17:38 +00:00
Václav Slavík
1545d942ec
fixed creation of wxString from another wxString's substring in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 10:37:52 +00:00
Vadim Zeitlin
9fcd0bf7f3
added wxListCtrl::SetItemPtrData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:53:21 +00:00
Vadim Zeitlin
f3a8b1b68e
replaced more int/longs with wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:46:57 +00:00
Vadim Zeitlin
b70642258f
fixed detection of missing C++ compiler added in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 00:22:13 +00:00
Vadim Zeitlin
f9c980f617
use wxCopyRectToRECT instead of duplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 23:38:14 +00:00
Vadim Zeitlin
d5e0be7d42
abort immediately if no C++ compiler was detected instead of continuing reporting plenty of tests failures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:50:09 +00:00
Vadim Zeitlin
dc7bf04dcf
require libsm-dev, it's needed for KDE/GNOME detection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:48:47 +00:00
Vadim Zeitlin
129b8b1a21
update frm Ivan Masar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:22:23 +00:00
Václav Slavík
c5e7a7d769
changed wxString::StartsWidth/EndsWidth to take wxString argument instead of wxChar*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:07:08 +00:00
Václav Slavík
ff0846a09f
return value from wxEditableListBox::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 17:47:00 +00:00
Václav Slavík
b11af9ed9d
temporary fix for wxDFB compilation in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:48:11 +00:00
Vadim Zeitlin
371bc2f714
test for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:29:05 +00:00
Václav Slavík
dc6923a52c
fixed configarg.cache code to correctly handle multiple options with the same prefix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 14:42:46 +00:00
Václav Slavík
50f1747a7c
take into account DirectFB's removal of some command line arguments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 13:45:32 +00:00
Robert Roebling
ed38aa559c
GTK+ cell renderers are not widget, so use a
...
correct type.
Also found a way to set cell background and
probably other styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 10:38:15 +00:00
Roman Rolinsky
8ecb322ecb
final touch for icons - transparency handled by ArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:24:30 +00:00
Roman Rolinsky
690a4c0a9b
use Tango icons on MAC & MSW;
...
process UPDATE_UI for move and refresh buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:31:05 +00:00
Roman Rolinsky
38f43f0246
tango-compliant icons (first try)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:28:58 +00:00
Robert Roebling
2970ae54d3
Beginning to make wxDC code compile both before
...
and after the DC reorg to make the transition
smoother (indeed possible).
Move the wxImplDC code to its future place in
dcbase.cpp and wx/dc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 23:47:43 +00:00
David Elliott
4263bab00e
Provide wxLaunchDefaultBrowser implementation for wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:37:06 +00:00
David Elliott
59b28f2a14
Remove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically stubs anyway. Fixes link error. Assume that the new common implementations in src/common/dcbase.cpp do the right thing. Not tested.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:33:56 +00:00
David Elliott
c5f0d1f903
Move wxLaunchDefaultBrowser from BASE to CORE per wx-dev discussion.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:13:49 +00:00
Roman Rolinsky
8329541967
using Tango icons on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:28:14 +00:00
Roman Rolinsky
52e75e6a80
tango icons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:26:44 +00:00
Stefan Csomor
653a54d049
adding reference to technote
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:53:23 +00:00
Stefan Csomor
eff41cb91e
if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:52:26 +00:00
Roman Rolinsky
fa64a0c396
* bugfixes for tree move operations and undo/redo
...
* Mac LnF ameliorations
* some sizing/spacing changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 22:25:57 +00:00
David Elliott
c24937e4cc
Move src/cocoa/utils.cpp to src/cocoa/utils.mm.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:58:04 +00:00
Roman Rolinsky
2702a0c1bf
iconization of the properties window together with the main to
...
fix blocking on wxGTK;
do not put Open/Save/... toolbar icons on Mac - they are ugly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:10:53 +00:00
Roman Rolinsky
1feeb78361
Yield causes premature redrawing of the test window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:08:19 +00:00
Chris Elliott
d7d0ed353b
add univ files to MGL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 09:34:27 +00:00
Robert Roebling
395367bcd3
[ 1713933 ] docs for wxEditableListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 07:51:28 +00:00
Vadim Zeitlin
7e0f753950
just return the min size needed by the sizer for the windows with sizers from their DoGetBestSize() instead of adjusting it upwards to the current size via GetWindowSizeForVirtualSize() call: this might be wrong as it could reintroduce the bug fixed in rev 1.66 of src/generic/scrlwing.cpp (but it's not really clear just what exactly this bug was) but the existing code was definitely wrong as the best size of the window must not change as it's being resized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 00:26:43 +00:00
Robert Roebling
d296fd8ff7
More preview code for the DC reorganisation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 20:14:55 +00:00
Václav Slavík
59a14f6984
fix compation with Watcom after latest vararg templates changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 14:11:14 +00:00
Vadim Zeitlin
f74a73b365
fix PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 11:50:18 +00:00
Mart Raudsepp
235fb242f6
Fix "depreciated" to "deprecated".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 03:48:16 +00:00
Vadim Zeitlin
fb48a5f865
fix warning about signed/unsigned comparison; use STL-compatible methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:15:56 +00:00
Vadim Zeitlin
7608fd01a1
no changes, just deTAbified and fixed really strange indentation of 'else' statements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:15:02 +00:00
Vadim Zeitlin
c36d477458
extracted wxAcceleratorEntry code from menucmn.cpp in a separate file (this globally makes sense and also fixes link when wxUSE_MENUS==0)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:03:27 +00:00
Vadim Zeitlin
c3b0ceb5a9
declare GetGDKWindow() in wxDC to fix compilation of wxRendererNative
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:44:17 +00:00
Vadim Zeitlin
8f3447c289
don't use deprecated GetTextExtent() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:39:04 +00:00
Vadim Zeitlin
2f6550d9c2
compilation fix: SetLogicalFunction() is defined in dc.cpp, don't define it here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:38:14 +00:00
Vadim Zeitlin
d3ae69de98
compilation fix: use DeviceToLogical[XY]() instead of [XY]LOG2DEV()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:34:26 +00:00
Vadim Zeitlin
faa5c14f8c
output Unicode/UTF-8 settings on a single line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 20:39:18 +00:00
Paul Cornett
02191df4b1
src/gtk/data.cpp is no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:50:51 +00:00
Paul Cornett
b541538fa5
move definitions from src/gtk/data.cpp to other appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:49:02 +00:00
Robert Roebling
a23717e506
Apply [ 1712381 ] CRASH: closing floating panel on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:43:02 +00:00
Václav Slavík
06c73b9852
fixed FromUTF8 in ANSI builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:19:48 +00:00
Paul Cornett
93344f258a
add wxUSE_DRAGIMAGE wrapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:00:35 +00:00
Václav Slavík
26f03c44d0
use utf8_str() in wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:55:59 +00:00
Václav Slavík
b04edcaf5f
use FromUTF8() when loading XML, data coming from Expat are already validated UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:55:05 +00:00
Václav Slavík
5f167b77d2
added wxString::FromUTF8/ToUTF8/utf8_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:53:24 +00:00
Paul Cornett
68d9be05da
build fix for wxUSE_DRAGIMAGE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:48:56 +00:00
Paul Cornett
36866abca3
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:45:11 +00:00
Paul Cornett
d5aea4245e
src/gtk/utilsres.cpp is obsolete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:57:08 +00:00
Paul Cornett
e8a301af2e
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:54:57 +00:00
Stefan Csomor
87d9092b70
making proper resource-fork apps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:22:09 +00:00
Paul Cornett
1a51ca3303
build fix for wxUSE_CONFIG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:13:30 +00:00
Paul Cornett
27ee942feb
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:07:41 +00:00
Robert Roebling
e8b86d2538
Make wxGTK1.2 compile again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:52:53 +00:00
Robert Roebling
cfa87e8121
Moved deprecated code to source file (didn't compile
...
as inlined, somehow).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:09:45 +00:00
Robert Roebling
1f540d9658
Added wxDEPRECATED() around old wxDC methods taking
...
long and not wxCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:04:24 +00:00
Robert Roebling
7d9a266c85
Added (empty) SetLogicalFunction()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:01:10 +00:00
Vadim Zeitlin
2cd78b2a87
added wxTimerEvent::GetTimer()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:59:25 +00:00
Robert Roebling
0bc58f9580
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:54:35 +00:00
Vadim Zeitlin
cfddeb1067
fix compilation in wxUSE_MENUS==0 case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:48:20 +00:00
Robert Roebling
4c84a0dc49
Fix wxFD_FILE_MUST_EXIST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:59:12 +00:00
Vadim Zeitlin
5fcc0986fc
share ctags command between make(gtk/mac)tags scripts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:47:38 +00:00
Robert Roebling
bd4e083419
Apply [ 1710684 ] Fix wxAuiNotebook memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:25:17 +00:00
Robert Roebling
90ac8b5005
Apply [ 1713345 ] combobox: cmd accelerators shouldn't steal editing hotkeys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:15:47 +00:00
Vadim Zeitlin
9dcf65d3c1
fixed typo in IsBeingDeleted() test in GetParentForModalDialog()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 12:35:36 +00:00
Robert Roebling
5620726fd7
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:27:42 +00:00
Robert Roebling
091e74e76b
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:20:46 +00:00
Robert Roebling
ad2633bd96
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:16:40 +00:00
Robert Roebling
02e817a239
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:13:53 +00:00
Robert Roebling
c8b26ef59e
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:11:07 +00:00
Robert Roebling
01399dcd57
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:01:32 +00:00
Václav Slavík
ca4c9b7e56
enable UTF8 build for wxGTK2 and wxDFB by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 08:15:20 +00:00
Václav Slavík
6626de903e
use wxString instead of const wxChar* in wxFFile public API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 20:57:53 +00:00
Václav Slavík
fcea31d51b
use wxString instead of const wxChar* in wxFile's public API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 19:04:19 +00:00
Roman Rolinsky
62602fbd53
test needed for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 13:36:59 +00:00
Václav Slavík
0d23e82531
use wxFormatString in wxV[f]printf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 12:26:11 +00:00
Václav Slavík
4960f9fc9a
compilation fix for --enable-utf8 --disable-utf8only case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 11:10:06 +00:00
Václav Slavík
1528e0b85f
use wxFormatString helper class for 'vararg' functions' format argument; this prepares the code for removal of implicit wxString conversion to char* in STL build and also fixes VC6 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 10:41:08 +00:00
Vadim Zeitlin
cef590ee27
added src to the HelpGen directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 00:28:14 +00:00
Roman Rolinsky
9e20825c53
Various fixes and improvements to get look-and-feel similar across
...
different platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 23:34:59 +00:00
Robert Roebling
b86ad1d632
Putting draft of wxImplDC and the wxDC using it
...
for viewing pleasure into CVS. Guarded by
#if 0 since it doesn't even compile yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 22:29:01 +00:00
Robert Roebling
ad973712cd
Put old wxDC methods using long instead of wxCoord
...
into WXWIN_COMP_2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 22:25:30 +00:00
Václav Slavík
e905fd1c79
fixed typo in Watcom code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 18:03:39 +00:00
Václav Slavík
c9afb3cbc5
fixed passing raw unconverted strings through wxArgNormalizer<> for VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:58:18 +00:00
Václav Slavík
092ee46f03
fixed DLL linking of wxConvLibc etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:35:07 +00:00
Vadim Zeitlin
8f6d9cb3f7
use a default URL, I got tired of typing it in the dialog every time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:26:06 +00:00
Václav Slavík
f461887a02
don't do char*->wchar_t*>char* roundtrip in wxArgNormalizerUtf8<const char*> if current locale uses UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 14:34:29 +00:00
Vadim Zeitlin
9d0e03774e
make it possible to override desktop detection using gtk.desktop system option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:46:33 +00:00
Vadim Zeitlin
dee28fdd4d
show the error returned by SmcOpenConnection(); don't call it more than once -- the desktop environment is not going to change while the program is running
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:41:36 +00:00
Václav Slavík
8bd37efca7
fixed reverted #if condition around wxDoLogTraceWchar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:21:54 +00:00
Vadim Zeitlin
50c95f691c
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 12:30:30 +00:00
Václav Slavík
111d99489d
added code for optimized handling of UTF-8 locales: some string operations are more efficient under it and it's possible to completely compile-out support for other locales if the target system is known to only use UTF-8 locales
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 11:05:04 +00:00
Václav Slavík
d1f6e2cfe2
fixed vararg functions with format argument to not use wxString or reference argument (the latter is invalid C++, the former doesn't work with Watcom and produces at least warnings with GCC 3.3)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:50:25 +00:00
Václav Slavík
30957174e5
compilation fix for 2.8 compat disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:36:08 +00:00
Václav Slavík
8a3bc532fd
OpenWatcom has the explicit keyword too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:27:05 +00:00
Václav Slavík
d3cefe87d7
added wx[W]CharBuffer/wxCStrData overloads to remaining wxString methods that need them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:23:20 +00:00
Václav Slavík
303a585db2
fixed linking in monolithic case if USE_STC=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:32:58 +00:00
Václav Slavík
08fa76dc25
fixed linking against wxscintilla in debug build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:07:25 +00:00
Roman Rolinsky
610e05a433
fix for testing if a property is in allParams - it must be a sequence
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 07:35:01 +00:00
Vadim Zeitlin
49c9d05986
removed unneeded duplication of DoSetSizeHints() in wxTLWBase (as wxWindow version already does the same thing) and made wxTLW::SetMin/MaxSize() implementation less verbose
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 00:25:46 +00:00
Roman Rolinsky
fdfebc6ac2
style required on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:13:51 +00:00
Roman Rolinsky
0d2cd276cc
optimized highlighting to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:10:52 +00:00
Václav Slavík
fb2c90cab8
more OS/2 compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:38:52 +00:00
Václav Slavík
4aae00c69c
compilation fix for wxUSE_INTL=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:35:03 +00:00
Václav Slavík
c8b1fdc0b5
wxAppTraits::SetLocale() is wxUSE_INTL=1 only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:32:44 +00:00
Václav Slavík
cb2f2135b0
added convenience functions wxString::To/From8BitData() for storing g binary data in wxStrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 18:08:56 +00:00
Stefan Csomor
8dd37b0326
trying optimal scrolling solution perf-wise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:36:59 +00:00
Stefan Csomor
9372787028
trying optimal scrolling solution perf-wise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:31:30 +00:00
Julian Smart
f1e589cd3d
Corrected swapped descriptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 13:01:12 +00:00
Julian Smart
13b5552592
Corrected swapped descriptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 13:00:28 +00:00
Václav Slavík
76fc401aa5
added test for passing std::string to vararg functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 12:29:32 +00:00
Robert Roebling
04ab8b6ddf
Moved all the coordinate system calculation to wxDCBase
...
and thus removed all the duplicated code in all wxDC
classes.
Problematic is that wxSVGFileDC and wxPostscriptDC inherit
from wxDC and therefore include platform specific code
(also before this change) so I chose to override all
SetLogicalOrigin() etc. methods in these classes and
call their wxDCBase methods thereby circumventing the
platform dependent code.
I'm afraid the Mac code will require updating, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 11:05:45 +00:00
Václav Slavík
1e50d914af
made wxConvXXX objects usable at static initialization time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 09:03:03 +00:00
Václav Slavík
1436bf0bed
include object.h so that delete has complete type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 07:41:27 +00:00
David Elliott
ba64d0b6d5
Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
...
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 07:18:57 +00:00
Paul Cornett
3be926e348
remove miniframe stuff from GtkOnSize(), it's handled by wxFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 04:16:31 +00:00
Paul Cornett
3f6187f1d3
make File->Exit work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 03:18:18 +00:00
Robert Roebling
3cf279b861
Renamed wxDCBase::LogicalTo ... to wxDC::.. here, too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 22:20:56 +00:00
Robert Roebling
621b83d9b3
Made device to logical and vv conversion methods
...
virtual and implement them like any other method
in the wxDC classes, not only in the their files
but somehow belonging to the wxDCBase class.
This is required for plugging in differnt DC backends
with different conversions.
Ideally (and absolutely possible ) all these methods
should be removed and just the one in wxDCBase
should stay using values set in the various
derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:28:29 +00:00
Václav Slavík
df08bf5ab3
added inline plural form of wxGetTranslation to wxUSE_INTL=0 case for use with non-default domain too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:19:02 +00:00
Václav Slavík
2765cbb5aa
define wxPLURAL even if wxUSE_INTL=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:13:56 +00:00
Stefan Csomor
5cb78ae7c4
adjusting refcount asserts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:34:00 +00:00
Vadim Zeitlin
c3316efa21
clarified alpha support status (bug 1710013)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:34:53 +00:00
Vadim Zeitlin
2c17722ec8
fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (closes bug 1701426)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:11:06 +00:00
Stefan Csomor
8736cc485b
Patch 1708290
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:35:00 +00:00
Stefan Csomor
09ac36f80b
Patch 1678304
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:55:02 +00:00
Stefan Csomor
9fbc9db0fa
Patch 1709069
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:49:35 +00:00
Stefan Csomor
3cfcae3b4d
Patch 1709108
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:41:11 +00:00
Roman Rolinsky
c3793e4660
set drop target on panel if present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 23:43:48 +00:00
Vadim Zeitlin
781130bf60
fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:43:28 +00:00
Vadim Zeitlin
97b253782a
use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:25:57 +00:00
Vadim Zeitlin
f11af09331
assert that wxRound() argument is in the supported range
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:23:17 +00:00
Roman Rolinsky
ed650677e1
drag-and-drop with left button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 15:48:42 +00:00
Václav Slavík
48670a3300
always define wxLocaleIsUtf8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:46:30 +00:00
Václav Slavík
44be939a5e
fixed release build compilation with compilers without __VA_ARGS__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:08:01 +00:00
Václav Slavík
0fd26ccb31
OS/2 compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 09:46:44 +00:00
Roman Rolinsky
42a505eae0
moved setting itemColour to XML_Tree.Clean where it belongs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 08:31:19 +00:00
Vadim Zeitlin
8bdc8a9c98
don't drop lines without trailing new line character in wxExecute() with capture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 01:13:37 +00:00
Václav Slavík
37db38bc52
OpenWatcom >= 1.2 has __VA_ARGS__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 10:28:22 +00:00
Václav Slavík
82e77a8027
compilation fixes for --disable-log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 09:02:38 +00:00
Václav Slavík
564a5bbe57
added support for passing std::[w]string to 'vararg' templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 08:04:58 +00:00
Robin Dunn
0433abb04f
Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Michael Wetherell
1002abaa77
Register the test under the name displayed by "./test -l"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:59:12 +00:00
Michael Wetherell
5deedd6e79
Map illegal UTF-8 sequences to a range in Unicode's private use area as
...
discussed recently on wx-users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:56:17 +00:00
Stefan Neis
0be0990e41
Compilation fix for string changes (patch #1709228 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 14:36:00 +00:00
Stefan Neis
951f68d01c
Adapted to API changes with respect to GetTextExtent (patch #1709152 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 10:04:34 +00:00
Václav Slavík
04d29fda82
added missing #include "wx/buffer.h"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 07:56:45 +00:00
Václav Slavík
e40dfb3a38
allow the UTF8 build to treat C locale as UTF8, too, it's a 7bit subset of it, so it should be OK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 07:06:18 +00:00
Robin Dunn
09a68e8818
Ensure there is a g.testWin before trying to use it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:13:31 +00:00
Václav Slavík
b4f4d3dd61
WX_PRECOMP, not WXPRECOMP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:35:43 +00:00
Václav Slavík
193d0c9310
PCH-less compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:32:40 +00:00
Václav Slavík
6b24b421ce
PCH-less compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:03:46 +00:00
Roman Rolinsky
b67bca8c6b
drop highlight color fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:33:54 +00:00
Roman Rolinsky
2fe1143153
fixes to move-around methods related to current selection highlight
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:24:57 +00:00
Roman Rolinsky
a7d8ec1e42
cursor image type fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:19:56 +00:00
Václav Slavík
0cb7e05cd1
PCH-less compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 15:50:07 +00:00
Václav Slavík
e3e8e3c0aa
include wxchar.h from string.h in 2.8 compatibility mode to prevent lots of compilation errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 10:08:53 +00:00
Václav Slavík
92a17abc1b
added copy ctor to wxCStrData to fix crashes when passing to vararg functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 08:48:56 +00:00
Vadim Zeitlin
f3b757e41c
no changes, just fix a typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 00:57:14 +00:00
Roman Rolinsky
2755491049
test prevented to update encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 20:32:14 +00:00
Roman Rolinsky
a0477b5a2b
final revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:55:10 +00:00
Roman Rolinsky
375e3718e8
some sizing fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:54:29 +00:00
Roman Rolinsky
e5b889c91e
drag-and-drop highlighting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:53:32 +00:00
Roman Rolinsky
c08eb1d348
more param renaming, some sizing fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:52:15 +00:00
Roman Rolinsky
5c82ed90df
drag-and-drop adding of controls to test window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:51:14 +00:00
Roman Rolinsky
da7d0696d1
set labels for new controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:48:12 +00:00
Roman Rolinsky
1b701a43b8
specify order of radios in prefs dlg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:42:52 +00:00
Roman Rolinsky
04fc5ddd16
made main toolbar bitmaps 24x24
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:33:38 +00:00
Robert Roebling
8622e8cdce
Only set focus to widget automatically if left down
...
event was not handled (as per wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 18:45:16 +00:00
Robert Roebling
da1bd25f29
Added IsOfStandardClass() as per wxMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 18:42:23 +00:00
Robert Roebling
21dd7c5b4c
Added Test for wxComboBox::SetValue() to widgets sample.
...
Make wxGTK not send text change events then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 18:40:43 +00:00
Paul Cornett
3dd2cf729d
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 15:46:26 +00:00
Chris Elliott
143f778f65
add Borland Developer Studio and Turbo Explorer info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 14:03:29 +00:00
Chris Elliott
32326dc3d9
better user info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:38:52 +00:00
Chris Elliott
17aa8c0476
fix dll path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:28:46 +00:00
Vadim Zeitlin
05a8831af2
added Roscale() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:05:41 +00:00
Vadim Zeitlin
1d8acb7d4d
added Rotate() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:50:04 +00:00
Chris Elliott
1b54a5d2cc
add Borland Developer Studio project file (for Turbo Explorer) uses dll build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:42:31 +00:00
Václav Slavík
c1eada835a
more efficient implementation of ToAscii/FromAscii in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:00:43 +00:00
Václav Slavík
2523e9b700
use UTF8-encoded char* strings in UTF8 build instead of wchar_t* if the current locale uses UTF8;
...
fall back to widechar CRT functions in the locale is not UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 11:40:04 +00:00
Chris Elliott
210bb741b9
remove warnings of intentionally unreachable code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 11:11:28 +00:00
Chris Elliott
d59c756578
removd as recommended in http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 10:54:15 +00:00
Chris Elliott
1c6c52fdef
tested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 10:50:54 +00:00
Paul Cornett
82008f15b7
replace 5 copies of size constraining code with one function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 05:22:09 +00:00
Paul Cornett
aa34396cb2
really fix window being repositioned after hiding, then reshowing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:52:03 +00:00
Vadim Zeitlin
75a788ee92
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:22:00 +00:00
Vadim Zeitlin
248d0a8970
move wxKEY_XXX constants to wx/defs.h from wx/list.h and wx/hash.h to avoid duplicating their declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:15:24 +00:00
Vadim Zeitlin
4ff9366dc1
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:13:08 +00:00
Vadim Zeitlin
90576c50fc
allow to test changing combobox selection too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:10:36 +00:00
Vadim Zeitlin
46bd197877
use wxCopyRectToRECT() instead of duplicating its code (patch 1707294)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 01:26:46 +00:00
Robin Dunn
96aaaff865
invalidate the best size when adding or deleting items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 01:04:47 +00:00
Robin Dunn
1b3b96d84c
ensure there is a current cell before using it to try and get width/height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:15:42 +00:00
Vadim Zeitlin
0518029cec
leave only wxString overloads for of the functions working with string keys; remove the old variant of hash table (deprecated since 2.4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 19:21:46 +00:00
Vadim Zeitlin
b044829c47
compilation fix after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 12:36:28 +00:00
Robert Roebling
235751501d
Added compile guards to wxEditableListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 09:22:02 +00:00
Robert Roebling
23714996e9
Added mini docs for wxChoicebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:40:42 +00:00
Robert Roebling
f13a38a5fa
Added mini docs to wxListbook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:33:19 +00:00
Robert Roebling
1be9182df8
Typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:20:03 +00:00
Vadim Zeitlin
c94f845b16
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 01:49:47 +00:00
Vadim Zeitlin
d2b23b6730
don't declare inline function with dllexport declaration, this provokes mingw32 warnings and is unnecessary anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 01:38:11 +00:00
Robin Dunn
52cd064365
Use wx.FileHistory for the recent files menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +00:00
Robert Roebling
f7ed8c899f
Use child's listmodelnotifier's destructor (by overloading
...
it) to get informed about the destruction of the child
model in a sorted model. Removed Freed() method used for
that so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 18:00:14 +00:00
Václav Slavík
c2ac2afd09
removed wxCStrData::operator bool(), using c_str() return value as bool doesn't make any sense and any code that stops compiling because of this is almost certainly buggy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 16:19:27 +00:00
Václav Slavík
c87a0bc8cb
corrected (Do)GetWriteBuf() return types to use more appropriate type (no real difference)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 15:51:51 +00:00
Václav Slavík
baf3d1dc0a
added test for a crash when passing wxCStrData constructed from a literal (operator?: operand) to a vararg template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 14:09:51 +00:00
Václav Slavík
9ffb659a29
fixed broken wxCStrData and operator?: check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 12:35:30 +00:00
Václav Slavík
c7c94fa73e
removed unused APPEND_STR macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 10:59:58 +00:00
Robert Roebling
1a64259d4e
Correct MVC update region in GTK+ native version
...
so that it takes horizontal scrolling into account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 09:44:32 +00:00
Robert Roebling
2fa73716ca
Change SetValue( wxVariant &value ) to
...
SetValue( const wxVariant &value )
(already documented)
Delete in-place editing control through
pending list, not in event handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 09:36:48 +00:00
Robert Roebling
2d9152d5d6
Mention that wxBookCtrlBase derived controls do derive
...
from that common class and link it to the wxBookCtrl
overview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 08:28:29 +00:00
Robert Roebling
3203e334b0
Updated docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 08:13:25 +00:00
Paul Cornett
3c95c71037
Fix window being repositioned after hiding, then reshowing.
...
Fix wrong return in Show().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 03:44:48 +00:00
Robin Dunn
da9714b5c8
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:27:13 +00:00
Robin Dunn
a7c987f91e
Tweaks needed to update to current CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:24:56 +00:00
Vadim Zeitlin
9cc79dd629
fix bug introduced in wxFontRefData::SetNativeFontInfo() in 1.89: remember that we do have native font info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 22:19:12 +00:00
Vadim Zeitlin
7549148b56
fix SelectItem() for single selection case which was broken by recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 22:08:41 +00:00
Václav Slavík
5becc84185
ANSI build compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 21:52:57 +00:00
Václav Slavík
db2a7aabf9
compilation fix: setlocale() returns non-const string pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 21:25:26 +00:00
Václav Slavík
cb352236d9
added code for checking if the current locale is UTF-8 at runtime
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:42:13 +00:00
Vadim Zeitlin
1e085eeb89
tiny change to make g++ 3.3 compile the latest version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:17:52 +00:00
Vadim Zeitlin
353a4edc6e
added implicit conversion of wxString to const void * for compatibility with the code doing things like file.Write(s, len)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:14:18 +00:00
Vadim Zeitlin
31fdb8d993
use GetParentForModalDialog() in ShowModal() to ensure we don't select a window being deleted as parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:09:35 +00:00
Vadim Zeitlin
893f78406d
test that the candidate parent window isn't being deleted (this would result in a crash later)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:07:26 +00:00
Paul Cornett
afde166737
revert move events change, it blocks programmatic move events as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 15:37:21 +00:00
Vadim Zeitlin
e8375af8ff
remove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in just wxMenuBar (and not set in each and every wxGTK control)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 15:16:06 +00:00
Robert Roebling
fbcb02294f
Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 09:28:08 +00:00
Paul Cornett
dc89b7bf7b
don't send move events for size changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 04:44:51 +00:00
Paul Cornett
0e795b0597
fix return type for "map_event" and "unmap_event" handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 04:33:47 +00:00
Vadim Zeitlin
4745f3c6ae
really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 23:07:28 +00:00
Vadim Zeitlin
df57f6bea3
compilation fixes for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 22:20:57 +00:00
Vadim Zeitlin
8e1dac8274
added wxStdDialogButtonSizer test (patch 1705382)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:25:24 +00:00
Vadim Zeitlin
b045eff215
detect if there was an error in standard GTK+ options processing and exit in such case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:19:53 +00:00
Vadim Zeitlin
f7a3c9be64
update wxApp::argc/argv to remove the options parsed by GTK+ itself from them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:17:49 +00:00
Vadim Zeitlin
d3a0a0eeab
added wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of the standard toolkit options to the usage message and implement it for wxGTK2 (patch 1703077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:54:07 +00:00
Vadim Zeitlin
2229243bdf
added wxDialog::GetParentForModalDialog() and use it to try to always create modal dialogs with a parent (slightly modified patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:34:41 +00:00
Vadim Zeitlin
a2979ead8d
added HasExtraStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:30:39 +00:00
Vadim Zeitlin
3b170aa895
don't pass unneeded arguments to AdustForGrowables()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:27:36 +00:00
Vadim Zeitlin
66c59e2c54
add m_ prefix to the member variables and remove unneeded dialogParent field (part of patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:20:51 +00:00
Vadim Zeitlin
7fca7a731d
don't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels to the last item(s) instead, as wxFlexGridSizer (now) does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 19:32:38 +00:00
Vadim Zeitlin
97800f6618
Many changes/fixes to wxFlexGridSizer implementation (no API changes):
...
- fix the problems addressed by the patch 1667343:
* only distribute extra space between growable items, not all space
* take hidden items and gaps into account for ALL grow mode layout
* fix rounding errors by allocating the remaining pixels to the last item(s)
- refactor the code to avoid duplication between row/column cases
- use STL-like wxList methods instead of compatibility ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 19:20:14 +00:00
Vadim Zeitlin
9c57566224
updated SetFont() documentation: it returns bool, not void (bug 1705330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:47:08 +00:00
Paul Cornett
095cb950db
fix double to int conversion warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:43:14 +00:00
Vadim Zeitlin
b9a325a19f
don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872; part of patch 1667343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 15:14:36 +00:00
Vadim Zeitlin
8906471733
distribute only the extra, free, space according to the items proportions in wxBoxSizer and not the entire available space
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:50:01 +00:00
Vadim Zeitlin
55bfbcb92b
(blind) compilation fixes after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:31:08 +00:00
Vadim Zeitlin
55809d1394
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:03:16 +00:00
Kevin Ollivier
a930afc71b
Return wx menu items inserted into the Window system menu, similar to what we do for Help and application menus.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:01:28 +00:00
Kevin Ollivier
6ff68ce9ad
Fix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode, also added handler for navigation keys and tweaked the virtual code for setting selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 21:44:31 +00:00
Vadim Zeitlin
b8e3f1cfb7
don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch 1702133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 21:14:59 +00:00
Vadim Zeitlin
361f4288eb
added support for image resolution options to PNG handler (heavily modified patch 1704128)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 19:29:01 +00:00
Vadim Zeitlin
defde6bc66
allow having children of status bar in XRC (patch 1704125)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:57:50 +00:00
Vadim Zeitlin
806ad81958
readded wxEditableListBox as part of adv library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:50:50 +00:00
Vadim Zeitlin
5f4d182091
added safe check for Pango version and use it to avoid underline hack in wxDC::DrawText() (modified patch 1702301)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:32:29 +00:00
Vadim Zeitlin
7e0bac9d7d
add missing dynarray.h includes (patch 1702312)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:13:48 +00:00
Vadim Zeitlin
df18cc7aa1
added wxStreamBuffer::Truncate() (patch 1687081)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:11:37 +00:00
Paul Cornett
10bd1f7d3b
remove redundant GTK_WIDGET casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 17:02:29 +00:00
Vadim Zeitlin
c079af66c8
fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:13:37 +00:00
Vadim Zeitlin
6ad0a7d52f
fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312); added a unit test for this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:04:52 +00:00
Vadim Zeitlin
11624aa059
oops, restored wrongly removed semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 14:58:46 +00:00
Vadim Zeitlin
5d262fdda8
removed extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 10:52:48 +00:00
David Elliott
829a2e9521
Remove Objective-C class posing for everything except for NSApplication.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 22:27:56 +00:00
David Elliott
ad3628fa86
Move Objective-C interfaces into separate header files in preparation for being able to use them from other source files.
...
No new or changed code. Work on behalf of Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 20:21:52 +00:00
Chris Elliott
781a8d7f3e
add const to avoid hiding warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 11:03:28 +00:00
Benjamin Williams
03dc5fadef
fixed bug when a fixed pane is resized inside a fixed dock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 09:03:43 +00:00
Jouk Jansen
deab0851ff
Committing in .
...
Update OpenVMS compile support
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:29:15 +00:00
Jouk Jansen
047b6c71d6
Committing in .
...
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
OpenVMS build update
wxWidgets/include/wx/unix/glx11.h
Removed superfluous semi-colon
wxWidgets/samples/db/dbtest.cpp
wxWidgets/samples/db/listdb.cpp
fixed wxString cast problems
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:16:48 +00:00
Chris Elliott
dedead3227
add const to avoid hiding warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:09:06 +00:00
Vadim Zeitlin
96c2a0dd74
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:40:13 +00:00
Vadim Zeitlin
92c6baaff2
corrected DLL export declaration of wxTimerEvent to fix VC++ DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:39:17 +00:00
Vadim Zeitlin
c2ca375c56
preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
...
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Vadim Zeitlin
a9c9588480
removed extra membersections (patch 1702329)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:21:00 +00:00
Vadim Zeitlin
50415ad7ee
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:16:16 +00:00
Vadim Zeitlin
5cb837400e
compilation fix (misplaced comma in OnIdle)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 22:13:21 +00:00
Václav Slavík
378964d49d
fixed wxCStrData::operator[] to use wxString::operator[] instead of at()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 18:33:35 +00:00
Václav Slavík
3a69bca110
added tests for wxCStrData::operator* and operator[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 18:28:26 +00:00
Paul Cornett
a1abca322f
Reorganize idle system code.
...
Installing idle handler from GTK callbacks is no longer necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 16:58:07 +00:00
Robert Roebling
30715fa195
Fix inplace editing of custom controls for
...
GTK+ variant of wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 12:47:47 +00:00
Václav Slavík
8db4a5d27a
added missing forward declaration for wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 11:25:34 +00:00
Václav Slavík
82a99c692c
fixed compilation of STL non-UTF8 builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 10:57:35 +00:00
Václav Slavík
467175ab3f
moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 10:05:55 +00:00
Václav Slavík
e7308074d8
moved vararg CRT functions wrappers to a new wxcrtvararg.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 08:04:34 +00:00
Václav Slavík
e713a90b3f
moved vararg CRT functions wrappers to a new wxcrtvararg.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 07:44:16 +00:00
Vadim Zeitlin
cc4d99cfb7
removed obsolete wxUSE_WX_RESOURCES check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 01:05:41 +00:00
Paul Cornett
819850ff06
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 17:15:56 +00:00
Robert Roebling
c3112d560e
Corrected/implemented sorting (by way of clicking on
...
on the header button) for the generic code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 12:31:35 +00:00
Václav Slavík
b553626907
fixed DLL linking of wxMessageOutput class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 09:34:35 +00:00
Robert Roebling
7a4523c810
Escape slashes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:44:18 +00:00
Robert Roebling
81a220373b
Doc correction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:37:18 +00:00
Václav Slavík
21e3e3bc75
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:32:19 +00:00
Robert Roebling
305c49a1a9
Updated wxDataViewCtrl docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 20:36:00 +00:00
Robin Dunn
5cc18d7986
wx.lib.flatnotebook: Patch from Andrea that implements the following:
...
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);
* Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;
* Updated the demo module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
be3eff6271
Patch from Andrea that fixes the following problems/issues:
...
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +00:00
Václav Slavík
59953bf4ba
added conversion to and from std::string and std::wstring (if wxUSE_STD_STRING)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 15:32:05 +00:00
Robert Roebling
1e510b1e2d
Implemented the same simple API for creating customized
...
in-place editing controls for GTK+ and the generic
version and demonstrate its use in the sample using
a wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 12:08:10 +00:00
Paul Cornett
29825f5fc4
add wxUSE_STC wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 05:48:09 +00:00
Vadim Zeitlin
70eca0fa29
compilation fix for PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 01:22:03 +00:00
Vadim Zeitlin
4a36f6b0a2
compilation fix for PCH-less compilation after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 01:19:43 +00:00
Robin Dunn
8f7ed3f3a5
More fixes needed for allowing classes to be derived from PyAuiDockArt
...
and PyAuiTabArt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 23:28:30 +00:00
Vadim Zeitlin
d6a54ad7c8
reverted last change as using pango_version_check() (unavailable in the old Pango versions) makes wx applications impossible to run on older systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 21:46:59 +00:00
Robin Dunn
a78303202f
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:43:08 +00:00
Robin Dunn
e6c222e712
wxMac has wxGLContext.SetCurrent now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:27:28 +00:00
Robin Dunn
41b2b34b1b
Add wxCONTROL_FLAT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:26:44 +00:00
Robin Dunn
927773c764
Add wxAPPLY, wxCLOSE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:25:45 +00:00
Robin Dunn
3eddc6bc00
Add wxSVGFileDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:23:35 +00:00
Robin Dunn
9b89d98dac
User lower case property names in wx.DateSpan and wx.TimeSpan in order
...
to not conflict with static methods with same names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:16:57 +00:00
Robin Dunn
0da1f4c072
Don't use m_popupInterface pointer if it is still NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:05:47 +00:00
Robin Dunn
a55e4e4260
Fix DLL compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:04:56 +00:00
Robin Dunn
7d36c6a8eb
Patch from FN that fixes bug in RefreshItem on an item that has no
...
corresponding node in the tree yet (because its parent isn't expanded
yet) triggered an exception.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:59:00 +00:00
Vadim Zeitlin
3a41827a6d
call gtk_file_chooser_set_current_folder even if the default file name is empty (but default directory isn't) (bug 1701682)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:21:46 +00:00
Vadim Zeitlin
831faf970a
corrected the direction of comparisons between wxString and char/wxChar strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:56:51 +00:00
Vadim Zeitlin
178d7ec235
removed superfluos semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:20:42 +00:00
Robert Roebling
99d471a5db
Rewritten in-place editing for generic wxDataViewCtrl
...
moving the code (partly) to the renderer and away
from the wxDataViewCtrl class. Adding new in-plae
editors (wxChoice) should be much simpler now.
Also implemented using Validate() before committing
a change to the data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 12:45:25 +00:00
Václav Slavík
8060b0be0e
added wxMBConv argument to char_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Václav Slavík
681e441286
added wxCStrData::As[W]CharBuf() that doesn't keep converted string in memory for longer than needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 06:59:04 +00:00
Vadim Zeitlin
ff0d9d83cd
more native look for wxCheckListBox (especially under XP) (modified patch 1690068)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:26:13 +00:00
Vadim Zeitlin
8a46124968
added new wxCONTROL_FLAT bit (see discussion of patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:22:46 +00:00
Vadim Zeitlin
d4adf63ba3
use wxRenderer::DrawCheckBox() instead of doing it manually
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:53:05 +00:00
Vadim Zeitlin
59ee63e934
implement DrawCheckBox() in class Win32 renderer (modified patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:51:31 +00:00
Vadim Zeitlin
15b239c0eb
don't erase background in GL canvases to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:29:45 +00:00
Vadim Zeitlin
dc2819335f
added #ifdef __X__ forgotten in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:21:56 +00:00
Vadim Zeitlin
0ce4fad6ae
use IsShownOnScreen() in OnSize() to ensure that the window is realized (important for X11-based ports) before trying to create an associated context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:09:46 +00:00
Vadim Zeitlin
010eb424bb
fix handling of stock menu items (creating a stock item without label left its label empty)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:08:19 +00:00
Vadim Zeitlin
498ace9e1f
Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:06:45 +00:00
Vadim Zeitlin
e4e83f385a
added wxGetX11Display() returning the pointer of the correct type, unlike the old wxGetDisplay()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 22:54:36 +00:00
Václav Slavík
cf9a878b54
removed implicit conversion from wxString::iterator to wxStringImpl::iterator (fixes VC6 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 19:02:38 +00:00
Václav Slavík
8a7afe4dfe
compilation fix for VC6 with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 18:47:19 +00:00
Vadim Zeitlin
a81a4db388
removed unnecessary return in a void function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 16:43:37 +00:00
Vadim Zeitlin
e559e76ed9
added back SetCurrent() call accidentally removed in one of recent commits
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:23:05 +00:00
Vadim Zeitlin
bc521497d3
use slightly more light
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:21:25 +00:00
Vadim Zeitlin
378a3872eb
use textures in the shared context to test how this works when using multiple windows with the same context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:13:49 +00:00
Mattia Barbon
644cb5372c
Make wxClassInfo attributes private. Replace
...
direct access to sm_classTable with a (const) iterator
interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 11:43:37 +00:00
Václav Slavík
a4a44612a6
implement wxString:IsXXX() methods using iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 10:07:40 +00:00
Vadim Zeitlin
50f5d508a8
reorganized the code to put the logic in wxGLContext-derived class but keep the state in the window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:54:32 +00:00
Vadim Zeitlin
43c05cf8e1
adjust the window coordinates for parent client area origin when in Create() too and not only in DoSetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:28:05 +00:00
Vadim Zeitlin
6285e36ba0
added wxRTTI macros to stream classes (patch 1687073)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 23:35:13 +00:00
Vadim Zeitlin
67cff9dc2f
added overloads of ctor/insert/assign/append taking a pair of wxCStrData objects to allow compilation of expression like wxString(s.c_str()+1, s.c_str()+2) (fixes wxUniv compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 23:15:57 +00:00
Václav Slavík
b1b592ad75
don't compile Scintilla sources with -Wall
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 19:05:45 +00:00
Václav Slavík
819d77af7c
fixed the order of aboutdlg.h file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 18:27:03 +00:00
Robert Roebling
47c9446614
Add test for Validate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:59:56 +00:00
Robert Roebling
01705e98c1
Text alignment is for GTK 2.10 and above only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:58:49 +00:00
Paul Cornett
76a93e31dd
fix assert on gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:39:48 +00:00
Václav Slavík
486a594182
added ability to create 'non-owned' buffers that aren't freed by wxCharBuffer dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 16:58:48 +00:00
Václav Slavík
8237a1c052
VC6 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 16:06:50 +00:00
Chris Elliott
9be4fc3cea
add svg in new location
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 15:52:07 +00:00
Chris Elliott
741f81ac6f
remove outdated makefiles and .cvsignore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:31:09 +00:00
Chris Elliott
29263adce4
add back stc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:26:29 +00:00
Chris Elliott
3393bed9b4
stc src and includes added back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:24:38 +00:00
Chris Elliott
343ce358df
stc sample added back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:20:44 +00:00
Vadim Zeitlin
aa0f7b67fd
added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:22:31 +00:00
Vadim Zeitlin
57d7f9888e
added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:17:06 +00:00
Stefan Csomor
db56793066
fixing non core graphcis build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:17:54 +00:00
Stefan Csomor
c97c00543b
fixing assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:16:36 +00:00
Václav Slavík
a4c1cdc9dc
don't use the VC6 workaround in wxList with newer versions of VC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:04:30 +00:00
Václav Slavík
bc5443ba07
fixed wxUniCharRef::IsAscii() definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 10:45:58 +00:00
Stefan Csomor
9154a136d5
fixing the shrinking embedded controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 10:19:26 +00:00
Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Stefan Csomor
3dccf96eab
cleaning up problems after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:33:10 +00:00
Stefan Csomor
e6893d5d28
cleaning up problems after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:24:02 +00:00
Vadim Zeitlin
3b6c95eb5f
even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:15:53 +00:00
Vadim Zeitlin
b5a3a81b9c
fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:36:42 +00:00
Vadim Zeitlin
223b7504a2
implement support for right-aligned/centered items owner-drawn items (patch 1699415)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:32:52 +00:00
Vadim Zeitlin
26822b76fa
removed documentation for wxStartTimer() and wxGetElapsedTime() which are only kept for backwards compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:26:47 +00:00
Robert Roebling
456e5c2107
Correctly handle ENTER for cell activation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 16:27:08 +00:00
Vadim Zeitlin
620c9408b8
rebaked after wxUSE_EXTENDED_RTTI and wx/flags.h addition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 12:06:21 +00:00
Vadim Zeitlin
9d1eeb0bf2
removed contrib files from the scripts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:13:41 +00:00
Vadim Zeitlin
dcf6360308
removing unnecessary makefiles, there is nothing left here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:02:24 +00:00
Vadim Zeitlin
3b861ac783
removing obsolete and not working tool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:00:14 +00:00
Vadim Zeitlin
335d3a472a
clarifications to the ctor documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 01:27:57 +00:00
Václav Slavík
817270659e
initial version of UTF-8 strings representation (still converting to wchar_t* a lot); it has to be explicitly enabled with --enable-utf8 for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 21:15:07 +00:00
Václav Slavík
5b077ec744
moved vararg handling code in wxMessageOutput to single method and added simple Output(wxString) virtual method instead of DoPrintf(format,...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 21:13:05 +00:00
Robin Dunn
7e173fdcef
Forward declare new wxPy classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 19:51:09 +00:00
Václav Slavík
fee043161b
removed unneeded wxChar* cast, we already have wxString one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 17:47:26 +00:00
Vadim Zeitlin
a2e4a628ee
removed the code to manually send wxNavigationEvents, it's not needed any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 15:00:56 +00:00
Vadim Zeitlin
0d5f4ba3b0
avoid code duplication by using helper functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 14:57:41 +00:00
Vadim Zeitlin
33c6e437f5
modify the listbox item in place instead of deleting and inserting it back in SetString(), this gets rid of confusing listbox selection events for invalid item when SetString() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 14:28:36 +00:00
Robin Dunn
8c3a71838a
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:56:21 +00:00
Robin Dunn
cc8ce392c5
wx.VScrolledWindow has been refactored, and new wx.HScrolledWindow and
...
wx.HVScrolledWindow classes have been added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:54:12 +00:00
Robin Dunn
c655dbdd89
SetCanFocus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:53:36 +00:00
Robin Dunn
6493d270f2
wizard classes don't take resource parameter anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:52:43 +00:00
Robin Dunn
c4b330b35d
wxNullIconBundle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:51:33 +00:00
Robin Dunn
171284c29a
Add wxEXEC_NOEVENTS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:50:48 +00:00
Robin Dunn
e1a4589263
update wx.IconBundle methods and docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:49:47 +00:00
Robin Dunn
c533405853
SetDefault returns the former default widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:45:56 +00:00
Robin Dunn
3b0265a32c
wx.IconBundle support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:44:59 +00:00
Robin Dunn
91d6301a7b
wxMac: The get-url apple event is now supported, simply override
...
wx.App.MacOpenURL to receive it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:44:02 +00:00
Robin Dunn
363868e5eb
Add wx.Position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:41:45 +00:00
Robin Dunn
26ee65c723
STC is not a separate library anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:38:48 +00:00
Robin Dunn
99953df064
tweaks needed for new GLCanvas API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:37:24 +00:00
Robin Dunn
e3e99f92bd
trim whitespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:36:26 +00:00
Robin Dunn
c0a4dfbb0a
Test EVT_TREE_ITEM_ACTIVATED
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:35:36 +00:00
Robin Dunn
b4aa9fec65
All platforms have the same GLCanvas API now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:34:20 +00:00
Robin Dunn
9c8d71beb8
Use the wxWANTS_CHARS style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:23:41 +00:00
Robin Dunn
8dda1e5b25
Don't use stc lib if building monolithic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:23:01 +00:00
Robin Dunn
fffa9fbcb9
Adjust output dir for wxPython file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:13:21 +00:00
Robin Dunn
af579c91c2
Don't use hidden items for size calc (patch 1698314)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 21:53:13 +00:00
Stefan Csomor
70cab5b769
compile guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 15:37:40 +00:00
Stefan Csomor
6c1483e3ec
changing the Multiple Inheritance along the Single Inheritance, patch 1623801
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 15:32:57 +00:00
Vadim Zeitlin
1be2473f59
add aglUpdateContext() call (doesn't seem to change anything but should be there according to the docs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 13:55:04 +00:00
Vadim Zeitlin
4325471812
forward declare wxDC (fixes wxMotif compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 13:36:08 +00:00
Václav Slavík
5a10553d6f
fixed another place where wxString was used as bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 13:13:10 +00:00
Vadim Zeitlin
f99bfeea73
derive wxStaticText from wxStaticTextBase under wxGTK1 too, in particular thi sfixes missing wxStaticText::Wrap() problem during linking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 12:13:36 +00:00
Vadim Zeitlin
21324807f5
linking fix after the one before last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 11:53:40 +00:00
Mattia Barbon
afc89ff455
Added --enable-extended_rtti configure switch (defaults to disabled).
...
Fix compilation when WXINTL_NO_GETTEXT_MACRO is defined.
Added wx/flags.h to installed files.
Fix XTI compilation after wxString changes.
Fix 'virtual functions but non-virtual destructor' GCC warnings.
Minimal XTI definition for wxOwnerDrawnComboBox (cut'n'paste
from wxComboBox, will need to be completed).
Requires rerunning bakefile and autoconf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 10:32:01 +00:00
Vadim Zeitlin
8e4ac1a068
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:26:09 +00:00
Vadim Zeitlin
b4a980f4f5
don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
325cf48f5a
add support for a data tag which can be used to embed arbitrary data into the generated code (part of some forgotten patch...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:19:20 +00:00
Vadim Zeitlin
1748289348
added our own implementation of strto[u]ll() if the system doesn't have one (patch 1696533)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:12:54 +00:00
Vadim Zeitlin
cc87a04c9d
send selection events when Ctrl-clicking an item repeeatedly in a multiselection tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 23:56:20 +00:00
Vadim Zeitlin
f87a111f9e
added a menu command to clear log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 23:48:51 +00:00
Václav Slavík
75b16a30bd
reverted previous commit and added a comment explaining why CByteArrayFormat should be kept
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 19:32:48 +00:00
Václav Slavík
05f32fc39e
don't crash if (char*)c_str() is used twice in a row on the same string and both pointers are used at the same time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 19:13:52 +00:00
Vadim Zeitlin
dc3065a56f
Big wxGL classes refactoring/cleanup:
...
1. Provide the same API, especially, but not limited to, wxGLCanvas and
wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 17:38:55 +00:00
Vadim Zeitlin
1f602af615
rename the menu to avoid conflict with a standard Mac menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 16:51:52 +00:00
Stefan Csomor
25fab0dca9
don't change the case of extensions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 16:09:30 +00:00
Václav Slavík
e7b54c0721
fixed typo: _T(), not _()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 14:55:02 +00:00
Vadim Zeitlin
f70f1f25da
add GetOwner() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 14:35:34 +00:00
Václav Slavík
0cdb0b9666
removed unused CByteArrayFormat function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 13:37:27 +00:00
Stefan Csomor
9f9a581228
accomodating to new files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 13:25:13 +00:00
Stefan Csomor
a3a08bd84e
using info plist above, debug on native arch only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:49:24 +00:00
Stefan Csomor
4afa6df339
needs threads...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:35:29 +00:00
Stefan Csomor
8116a0c55e
correcting include style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:23:44 +00:00
Stefan Csomor
75c25a8219
fixing refcounting for embedded native controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 11:23:51 +00:00
Robert Roebling
06354b5621
Document wxWindow::Navigate() instead of generation
...
of a navigation event in the text on wxWANTS_CHARS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 08:03:39 +00:00
Vadim Zeitlin
346d8899f3
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 01:29:16 +00:00
Vadim Zeitlin
264f22613c
refresh GL canvas itself, not the frame, when the GL context changes, otherwise it doesn't redraw under wxGTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 00:02:15 +00:00
Vadim Zeitlin
173ca738fd
reverted patch 1325857 (rev 1.561): it might have fixed handling of CJK keys but broke handling of the normal keys without IM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 23:42:34 +00:00
Vadim Zeitlin
b94d29a7a1
fix the sample to work under X11 (where a context can't be made current before the window is realized)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 23:03:54 +00:00
Vadim Zeitlin
43c742d005
1. switched to new wxGLCanvas API (not using the implicit context)
...
2. pruned everything not related to OpenGL, making the remaining code much
more readable
3. show using the same wxGLContext with multiple wxGLCanvases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 22:54:40 +00:00
Vadim Zeitlin
bbe645133b
last version was broken and died when trying to create config.status, regenerated a working one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 22:32:30 +00:00
Vadim Zeitlin
34a0dc614e
truncate the static box label to fit the control size (patch 1695228)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:39:09 +00:00
Vadim Zeitlin
28117f2426
make Enter/Return activate the default button (second version of patch 1696563)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:28:27 +00:00
Vadim Zeitlin
63ab3daed9
don't use Pango hack for drawing underlined text when using new enough version of Pango (patch 1697040)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:21:44 +00:00
Vadim Zeitlin
5440a04fa8
don't return the next line text from GetLineText() for empty lines (patch 1697208)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:17:09 +00:00
Václav Slavík
7dd1ae1114
added wxgl pseudotarget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 20:33:57 +00:00
Mattia Barbon
eafd76b02c
Replace direct calls to ProcessEvent() with
...
GetEventHandler()->ProcessEvent().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:43:23 +00:00
Vadim Zeitlin
e9793aef3c
escape &
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:09:20 +00:00
Vadim Zeitlin
7f580b6380
fix --with-opengl formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:04:03 +00:00
Vadim Zeitlin
6859e6fcca
don't overwrite the buffer if extending it failed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:52:27 +00:00
Vadim Zeitlin
6b5a8c7d98
replaced deprecated wxMULTIPLE with wxFD_MULTIPLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:50:25 +00:00
Vadim Zeitlin
14eacdd46a
compilation fixes: remove unneeded c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:46:34 +00:00
Vadim Zeitlin
e273c962f8
added wx/image.h to fix compilation without PCH after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 13:51:43 +00:00
Vadim Zeitlin
9daaea2854
undid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator::operator-() is now signed again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:21:51 +00:00
Vadim Zeitlin
ebc0b15552
compilation fix after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:19:12 +00:00
Vadim Zeitlin
32a2c06eed
fix unused parameter warning introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:13:54 +00:00
Vadim Zeitlin
79b83ef085
make wxVarVScrollLegacyAdaptor::OnGetLineHeight() non-pure virtual to fix compilation with WXWIN_COMPATIBILITY_2_8==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:37:04 +00:00
Vadim Zeitlin
b7276b44ce
compilation fixes after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:18:54 +00:00
Václav Slavík
89360a8c87
string iterator's operator- should return difference_type, not size_t or unsigned
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 08:18:33 +00:00
Václav Slavík
1bb592b878
removed spurious semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 06:50:28 +00:00
Václav Slavík
1918a4c47f
compilation fix: needs wx/string.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 06:47:51 +00:00
Vadim Zeitlin
bafddbe882
added missing membersection for CreateIconBundle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 00:19:13 +00:00
Vadim Zeitlin
ccc20afae9
fix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of whether we wrap lines or not: this didn't work because wxHSCROLL was temporarily reset in wxWindow::Create() and so we used wxTextWrappedData when we only had created wxTextMultiLineData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 23:25:36 +00:00
Vadim Zeitlin
2e9c0c010a
don't skip the scroll position validity check in CalcScrollInc() if m_[xy]ScrollPixelsPerLine is NULL, this resulted in problems mentioned in patch 1696082
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 23:06:42 +00:00
Vadim Zeitlin
600b3983e9
pass 0, not NULL, to SendMsg() which takes long to avoid gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:42:45 +00:00
Vadim Zeitlin
2cdb6fdb13
added mouse wheel support (patch 1696082)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:28:42 +00:00
Vadim Zeitlin
75722dbab8
compilation fix after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:26:53 +00:00
Vadim Zeitlin
94aff5ff86
Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
...
it in wxButton implementations in (almost) all ports; changed its return type
to "wxWindow *" from "void" to accommodate the ports needing the old default
item (replaces part of patch 1696563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:18:35 +00:00
Vadim Zeitlin
a78a8f7fd5
make test_for_selected_wxbuild target optional (patch 1696363)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:45:11 +00:00
Vadim Zeitlin
4609ee2ef8
fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:02:03 +00:00
Václav Slavík
132276cf0d
fix crash in ~wxString with global wxString objects: temporarily move conversion buffers from a hash to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 17:52:00 +00:00
Václav Slavík
7708a26720
don't build wxscintilla lib if wxSTC is not built
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 13:59:16 +00:00
Vadim Zeitlin
e02c72fa45
fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 13:55:36 +00:00
Paul Cornett
52d16c5e3b
Children need to be updated in size_allocate even if widget is not realized.
...
Fix initial GdkWindow sizes in realize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 06:13:21 +00:00
Vadim Zeitlin
52b7ece54c
compilation fix for !USE_PCH (added missing wx/dc.h include)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 02:08:22 +00:00
Vadim Zeitlin
f18eaf2687
The great wxVScrolledWindow refactoring: allow using it both horizontal and
...
vertical directions (slightly modified patch 1671181)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 01:58:16 +00:00
Vadim Zeitlin
4e4e981fe6
corrected typo in the creation date
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:51:12 +00:00
Vadim Zeitlin
97660d4213
added wxPosition helper class (extracted from patch 1671181)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:49:41 +00:00
Vadim Zeitlin
9b6b9e0c9c
added wxEXEC_BLOCK flag (patch 1620430)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:43:10 +00:00
Vadim Zeitlin
f4f5d5697d
use wxFD_XXX instead of deprecated wxXXX in the documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:23:14 +00:00
Vadim Zeitlin
bc855d0932
added wxEXEC_BLOCK flag (patch 1620430)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:18:09 +00:00
Vadim Zeitlin
f605c2584f
use wxIconBundle::GetIconOfExactSize() instead of duplicating its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:54:12 +00:00
Vadim Zeitlin
9b5933bcbc
added GetIconOfExactSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:53:06 +00:00
Vadim Zeitlin
ea098413d0
made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
...
SetIcons() in most of the ports, now do it in all of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:40:55 +00:00
Vadim Zeitlin
6a7d4d7190
don't allocate m_refData unnecessarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:38:13 +00:00
Vadim Zeitlin
9fc3681aeb
don't crash when IsEmpty() is called on invalid bundle; don't assert if GetIcon(-1) is called on an invalid or empty bundle as existing code expects to be able to do it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:36:08 +00:00
Vadim Zeitlin
54eaf0c8b2
don't use invalid wxIconBundles, it results in asserts after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:14:58 +00:00
Vadim Zeitlin
5a5cdd3142
don't try to access empty wxIconBundle in gtk_frame_realized_callback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:05:37 +00:00
Vadim Zeitlin
f718689984
added IsEmpty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:04:15 +00:00
Vadim Zeitlin
80442e9470
filter out bundles/packages when showing the open file dialog (patch 1675784)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 22:25:23 +00:00
Vadim Zeitlin
3de9120b03
use 2 extensions in a filter in FileSave() for testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 22:14:44 +00:00
Vadim Zeitlin
f7aeba1cdd
choose the first extension by default, if several are specified, in the save file dialog (patch 1675781)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 22:13:30 +00:00
Vadim Zeitlin
58862dfa1a
don't remove the tools we hadn't added to the toolbar (replaces patch 1660201)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 21:59:56 +00:00
Mattia Barbon
105fbe1ffa
Rework wxMotif font/color inheritance so it works
...
like in the other ports. Avoid setting foreground/background
color for windows and let the toolkit use the natural color.
As an intermediate step font is still explicitly set.
Handle the cases where m_foregroundColour, m_backgroundColour ir m_font
are not initialized.
Set default (overridable) X resources to emulate the old look.
Unify wxMOTIF_NEW_FONT_HANDLING with wxMOTIF_USE_RENDER_TABLE.
Minor unrelated (sizing) fixes to wxCheckListBox, wxStaticText, wxTextCtrl.
Tagged with MOTIF_BEFORE_COLOUR_FONT_INHERITANCE before the changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 21:18:33 +00:00
Vadim Zeitlin
d5c87edd82
fix crash introduced in last commit (the correct item variable was shadowed by another one and so remained NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 20:31:15 +00:00
Vadim Zeitlin
527343602e
1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
...
fast (which was needed for 2)
2. make it possible to return wxIconBundles from wxArtProvider
3. implement Mac-specific wxArtProvider doing (2)
(modified patch 1581960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 19:59:51 +00:00
Vadim Zeitlin
0597e7f977
add support for resources forks in wxCopyFile() (modified patch 1620336)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 18:23:57 +00:00
Vadim Zeitlin
7816e624f3
support accelerators for buttons too (slightly modified patch 1549012)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 17:05:00 +00:00
Vadim Zeitlin
947848a1dd
added MacOpenURL() (patch 1235957)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 16:05:11 +00:00
Vadim Zeitlin
6a121452ee
document GetAnimation() (patch 1695722)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:45:26 +00:00
Vadim Zeitlin
5a9f61010b
document adding new resource handlers (patch 1695722)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:44:13 +00:00
Vadim Zeitlin
fa89dabe0b
don't mention obsolete 2.2 version (part of patch 1695722)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:42:42 +00:00
Vadim Zeitlin
e0da84df05
mention more predefined array classes (part of patch 1695722)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:41:32 +00:00
Robert Roebling
3e09bcfd02
Restore border around non-scrolling widgets. The
...
border seems to have the wrong colour now (?).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 14:41:41 +00:00
Vadim Zeitlin
ebe1d1579b
use C++ compiler for all getsockopt() tests, not just one of them to fix compilation under HP-UX (patch 1693708)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:33:17 +00:00
Vadim Zeitlin
993b016d6c
use smaller icons, it looks better (patch 1695225)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:25:34 +00:00
Vadim Zeitlin
6daba577e9
use C++ compiler for all getsockopt() tests, not just one of them to fix compilation under HP-UX (patch 1693708)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:18:56 +00:00
Stefan Neis
d87887c1b7
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 12:28:59 +00:00
Stefan Neis
404aba09e5
Replaced incorrect or inefficient usage of char_str() by wx_str().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 12:21:15 +00:00
Vadim Zeitlin
6a74af89fc
don't access the window after it had been deleted by the focus event handler (patch 1693063)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 11:39:44 +00:00
Vadim Zeitlin
557844d031
fix typo in OnClosingDocument() name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 10:40:11 +00:00
Václav Slavík
6c4ebcda60
STL build compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 09:25:07 +00:00
Vadim Zeitlin
153bc803a8
add conversion of wxUniChar[Ref] to unsigned int if it's not already covered by conversion to wint_t
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 23:16:00 +00:00
Vadim Zeitlin
cc5bd48eff
added operator-(const wxChar *, const wxCStrData&) to allow compilation of the code doing "p - s.c_str()" where p is a pointer into the string s
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:56:06 +00:00
Stefan Neis
0eabd3c635
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:52:16 +00:00
Vadim Zeitlin
9aee0061fe
wxCStrData must be dllexport'd now that it has non-inline methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:48:54 +00:00
Vadim Zeitlin
90f58090f6
suppress warning about converting -1 to MenuItemIndex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:41:10 +00:00
Stefan Neis
96ad3e4eb4
Bugfix (comparision vs. assignment).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:16:17 +00:00
Stefan Neis
d51aa8d87b
Added missing argument for DoGiveHelp.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:42:54 +00:00
Vadim Zeitlin
316ef03b27
compilation fix: don't try to convert wxString to bool, use empty() instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:38:05 +00:00
Vadim Zeitlin
07977ff28e
compilation fix: don't try to convert wxString to bool (apparently unnecessarily)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:35:21 +00:00
Vadim Zeitlin
c3b8bf3fb5
compilation fix: test correctly for filter string not being empty in MakeUserDataRec
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:23:52 +00:00
Robin Dunn
cf63f3d3ae
More patches from FM to clean up after moving contribs. Also removes
...
use of wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Stefan Neis
79f45cf784
Rather use the "obvious" implementation of wxStaticText::DoGetLabel().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:49:07 +00:00
Stefan Neis
115de22f78
Tentative implementation of wxStaticText::DoGetLabel().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:42:29 +00:00
Stefan Neis
a8988cb339
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:31:02 +00:00
Stefan Neis
f450b5cf10
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:06:41 +00:00
Vadim Zeitlin
f8ab85ae72
handle child destruction notifications in wxTLW itself and reset both normal and temporary default item pointers when the default window is destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:22:38 +00:00
Vadim Zeitlin
d1cd787b75
more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:16:07 +00:00
Vadim Zeitlin
15c1210982
compilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringImpl::iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:08:21 +00:00
Stefan Neis
65f3f920ba
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 18:08:32 +00:00
Stefan Neis
08bee49e39
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:22:29 +00:00
Stefan Neis
1f3d991197
OS/2 specific compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:10:03 +00:00
Vadim Zeitlin
7c2b62db91
compilation fix for g++ 3 (and probably others) after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:33:16 +00:00
Vadim Zeitlin
bf0e8244d9
compilation fixes for generic TAB navigation after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:32:35 +00:00
Vadim Zeitlin
80332672ab
make wxControlContainer accept focus depending on whether it has any focusable children when using native TAB navigation too but also allow to manually override this automatic detection; added wxWindow::SetCanFocus() to notify GTK+ about changed focus state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:29:14 +00:00
Vadim Zeitlin
30d560f4cf
wxString::[const_]iterator operators -= and += should return reference and not iterator object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:56:21 +00:00
Vadim Zeitlin
f2a1b1bd23
added overloads taking pairs of const char/wchar_t pointers for wxString methods working with const_iterators for backwards compatibility with old wxString::const_iterator which used to be convertible to/from const wxChar *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:55:29 +00:00
Vadim Zeitlin
a9dce709f5
added WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:54:29 +00:00
Václav Slavík
5064e6eff3
compilation fix for previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:47:35 +00:00
Václav Slavík
11aac4baa6
provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:28:14 +00:00
Robin Dunn
633566f6ef
Compile fix for gcc on MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:28:28 +00:00
Robin Dunn
18cea8715a
Patch from FM with more bakefile tweaks and etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:26:59 +00:00
Benjamin Williams
d51beb8834
avoid assert in window list drop down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 16:31:23 +00:00
Václav Slavík
3ad2d97259
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:38:36 +00:00
Vadim Zeitlin
4bd5322403
use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:01:48 +00:00
Vadim Zeitlin
05059b3a48
changed wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely broken on LP64 architectures otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:00:24 +00:00
Vadim Zeitlin
8279e59a61
define C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:58:58 +00:00
Vadim Zeitlin
4a9eae369e
corrected signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:21:55 +00:00
Vadim Zeitlin
9b59b90cda
fix another warning about unused variable in DoCStrDataTernaryOperator()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:19:18 +00:00
Vadim Zeitlin
abc505b493
fix warning about unused variable in DoCStrDataTernaryOperator()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 12:41:19 +00:00
Vadim Zeitlin
5149f75b93
construct wxBasicString directly from wxString instead of passing by mb_str(): this is completely unnecessary (and also happens not to compile in Unicode build currently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 09:58:13 +00:00
Vadim Zeitlin
3c771d6191
fix typo in allowOthers description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 09:33:42 +00:00
Václav Slavík
8a540c887c
made wxString::Replace, Matches and Find work with any form of string argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 08:35:39 +00:00
Robin Dunn
54429bb380
Bakefile and other changes for new locations of STC and wxSVGFileDC.
...
Remove old files in contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Vadim Zeitlin
c45ead7b4b
compilation fix for Unicode build: remove ambiguity arising when trying to pass wxCharBuffer to wxBasicString ctor which is overloaded for const char * and wxString by passing it directly wxString instead of calling mb_str() on it first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 23:41:40 +00:00
Vadim Zeitlin
6ae2a4b72f
don't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over a tool before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 13:38:37 +00:00
Václav Slavík
e8f5903971
build fixes after previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 11:40:36 +00:00
Vadim Zeitlin
33c2a4b7e2
call SetEventObject() for wxHtmlLinkEvents we generate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:00:32 +00:00
Václav Slavík
04abe4bc8f
cleanup of wxString ctors and operator=: made both char* and wchar_t* versions available, regardless of the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 20:29:42 +00:00
Robin Dunn
9859d369b4
Use our own getters and properties for wxVisualAttributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Vadim Zeitlin
6d99eb3e37
Undid last commit and restored bool argument to wxFrame::DoGiveHelp() as
...
removing it could silently break existing user code overriding this function.
Fix the problem with not restoring the original status bar text when the mouse
pointer left the toolbar by simply calling DoGiveHelp() with false as second
parameter only if there was no valid tool under mouse, not if the help string
(for a valid tool) was empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:04:44 +00:00
Vadim Zeitlin
05492dd1eb
removed unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor: they're used without these checks in many other places anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 15:12:31 +00:00
Vadim Zeitlin
fef0a330e9
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 11:27:53 +00:00
Václav Slavík
add4bb4044
BCC5.5 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 10:36:40 +00:00
Václav Slavík
50eeb96fbe
compilation fix for BCC5.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 10:06:08 +00:00
Václav Slavík
b39fc8d7b1
fixed wxBitmap<->wxImage conversion to not exchange red and blue components
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 08:46:53 +00:00
Paul Cornett
43147cef6c
build fixes for wxUSE_VALIDATORS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 02:44:32 +00:00
Paul Cornett
c91922129f
more checks for non-scrolling windows, some code duplication cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 02:15:02 +00:00
Vadim Zeitlin
fb5b13210e
quote AM_PATH_WXCONFIG arguments before passing them to WX_CONFIG_CHECK, otherwise they're lost when using autoconf 2.13
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 01:02:05 +00:00
Vadim Zeitlin
fa36fe3680
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 22:00:52 +00:00
Robin Dunn
ddeca22ce8
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:37:01 +00:00
Robin Dunn
70ee369088
Elippsis and markup support for wxStaticText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:26:39 +00:00
Robin Dunn
10f9d5a25b
Add wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:25:19 +00:00
Robin Dunn
030e504664
remove some problem commas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:24:35 +00:00
Robin Dunn
d029969fcc
Primary selection stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:23:35 +00:00
Robin Dunn
c5a8bc105c
fix test code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:21:35 +00:00
Robin Dunn
e734e438fc
patch from Andrea fixing sending of events and drawing of lines at root.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:20:16 +00:00
Robin Dunn
828ed945a7
Gizmos has been moved to wxCode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:19:13 +00:00
Robin Dunn
e5abfc486b
Enable the use of the primary selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:17:45 +00:00
Robin Dunn
a0421c774c
Always use wxHSCROLL|wxVSCROLL.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:15:27 +00:00
Chris Elliott
bc31c60fff
get wx and tex2rtf docs only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 20:35:35 +00:00
Chris Elliott
0b898d4558
restore cvs up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 18:14:37 +00:00
Václav Slavík
50e02008a0
added some unsigned char overloads to wxString for compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 18:13:48 +00:00
Chris Elliott
dc168f05b4
tidy up daily build for 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 17:42:42 +00:00
Václav Slavík
92258cc146
some more operator?! tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 17:42:20 +00:00
Julian Smart
db6634e0d5
Added mouse event handler invocations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 08:51:06 +00:00
Julian Smart
c730fa076c
Fixed compile problem and warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 08:49:36 +00:00
Václav Slavík
1125dc3f5c
GetBaseByName doesn't exist anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 05:33:37 +00:00
Vadim Zeitlin
b2b510728e
avoid asserts when the cipboard is acquired by another application
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 21:52:27 +00:00
Vadim Zeitlin
52b62ccea8
removing obsolete contribs (partly moved to wxCode)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 17:00:00 +00:00
Vadim Zeitlin
969e35994d
removing obsolete contribs (partly moved to wxCode)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 16:35:27 +00:00
Vadim Zeitlin
4358b585f1
blind fix for Unicode key handling (patch 1615989)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 15:19:44 +00:00
Vadim Zeitlin
5c68088294
toggle the first button in a radio tools group initially (second version of patch 1469227)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 15:06:11 +00:00
Vadim Zeitlin
2035ad112e
compilation fix for wxUniv after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 15:05:31 +00:00
Vadim Zeitlin
e6c287cc2b
compilation fix for !wxUSE_PRINTF_POS_PARAMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 15:01:57 +00:00
Vadim Zeitlin
c0ac3149bf
implement GetBestSize() (patch 1386199)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:53:02 +00:00
Vadim Zeitlin
523b9ce4fd
fixes for PCH-less build after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:18:49 +00:00
Vadim Zeitlin
996173c401
fix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:14:58 +00:00
Vadim Zeitlin
39bc0347fd
added support for ellipsization and markup in wxStaticText (modified patch 1629946)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:13:15 +00:00
Vadim Zeitlin
9d529fa05c
compilation fix after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 13:22:58 +00:00
Vadim Zeitlin
069a4f3c95
include aui and richtext directories
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 12:13:54 +00:00
Vadim Zeitlin
5acec11245
added a generic mechanism for registering global handlers for custom windows messages and use it in wxFindReplaceDialog instead of subclassing the parent window, this solves the problem with having 2 find dialogs with the same parent (replaces patch 1447739)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 12:07:00 +00:00
Václav Slavík
9cea4218b1
wint_t is wchar_t on OS/2 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 08:04:32 +00:00
Václav Slavík
745817ffbc
(OS/2) compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 07:52:14 +00:00
Robert Roebling
6552c7af6c
Don't create GtkScrolledWindow if neither wxHSCROLL
...
or wxVSCROLL are defined. This prevents wasting
some resources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 22:03:01 +00:00
Chris Elliott
39e00125e5
remove dead pro files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 18:36:35 +00:00
Chris Elliott
42f03e67d1
remove dead pro files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 18:23:35 +00:00
Vadim Zeitlin
cf5d50573f
set string field of wxCommandEvent object generated by spin control when its text changes (part of patch 1312699)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:16:35 +00:00
Vadim Zeitlin
6ceb105f1e
added test for EVT_TEXT handler for spin contorl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:11:02 +00:00
Vadim Zeitlin
295ebfd081
don't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asserts when its return value is used with wxCSConv (and besides this should never happen anyhow, wxFONTENCODING_DEFAULT makes sense on input only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:10:20 +00:00
Vadim Zeitlin
a95a6eb4aa
added gtk.tlw.can-set-transparency system option (replaces patch 1527017)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 14:51:10 +00:00
Vadim Zeitlin
7b377ed9b6
don't remove the old tags of different kinds when setting new style, this removes the need for combining any style being set with the default one (based on patch 1518118)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 14:38:38 +00:00
Paul Cornett
ae4c09a83b
don't clamp scroll position before updating GtkRange,
...
it causes HandleOnScroll to incorrectly do nothing when position is > 0 and
window is resized large enough to no longer need scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 07:08:06 +00:00
Vadim Zeitlin
9005f2edfd
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
...
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
non-X11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 02:57:55 +00:00
Vadim Zeitlin
531030e2d2
added a menu command to switch between clipboard and primary selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 01:59:51 +00:00
Vadim Zeitlin
eddb964405
decouple primary selection handling from clipboard and further simplifications/refactoring in clipboard code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 01:58:05 +00:00
Vadim Zeitlin
06f5d9758f
simplified the code by using new wxClipboardSync class abstracting wait for clipboard results and wxScopeGuard to ensure that the 'waiting' flag is reset in every case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 00:05:19 +00:00
Václav Slavík
834f138686
fixed wxDB compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 21:31:20 +00:00
Vadim Zeitlin
9f6986b3e2
reverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:54:46 +00:00
Václav Slavík
665e6a8753
added missing public keyword to wxWritableCharTypeBuffer declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:30:34 +00:00
Vadim Zeitlin
a50cf60efe
don't use deprecated wxSizerItem::SetWindow/Sizer/Spacer(), use AssignXXX() equivalents instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:16:11 +00:00
Václav Slavík
ef0f138756
added char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t* pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:09:02 +00:00
Vadim Zeitlin
6af350d428
clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:06:52 +00:00
Vadim Zeitlin
4dd10327d2
added wxSizerItem::AssignXXX() methods replacing the old SetXXX() but freeing the current item contents (modified patch 1687785)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:57:23 +00:00
Vadim Zeitlin
f4854380c1
don't handle orderly socket shutdown by the peer as an error (patch 1688222)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:02:30 +00:00
Vadim Zeitlin
854386fd92
fixed broken link and use \backslash instead of literal backslash which has special meaning in TeX in wxJoin() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:56:39 +00:00
Vadim Zeitlin
d6b7a9285c
added more wxART_XXX ids (patch 1687751)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:53:45 +00:00
Vadim Zeitlin
60f8c22b25
added more wxART_XXX ids (patch 1687750)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:50:31 +00:00
Vadim Zeitlin
a6e13ce4f3
added <set-wxlike> tag (patch 1691429)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:48:22 +00:00
Vadim Zeitlin
80dc1dd378
compilation fix for Win64 (patch 1690999)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:34:07 +00:00
Vadim Zeitlin
760fdb6755
added check for index validity to OnTabButton()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:49:42 +00:00
Vadim Zeitlin
849c353a39
added SetSelectionToPage/Window() to simplify code and fix more problems with passing possibly negative indices to SetSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:48:43 +00:00
Vadim Zeitlin
7546ba03f3
don't pass potentially negative index to SetSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:37:31 +00:00
Vadim Zeitlin
8fee630648
added IO errors handling to TGA reading code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:33:12 +00:00
Vadim Zeitlin
853c39d78b
fix error handling in the generic branch of wxCopyFile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:27:52 +00:00
Vadim Zeitlin
56ba039411
fixed memory leaks when reading invalid GIFs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:22:15 +00:00
Vadim Zeitlin
dda522bf4f
fix memory leak in wxFileTypeImpl::SetCommand() if creating the association fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:13:12 +00:00
Vadim Zeitlin
2f769cb93b
fix memory leak in wxFileTypeImpl::SetDefaultIcon() if creating the association fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:10:30 +00:00
Vadim Zeitlin
82c91ef51f
don't dereference potentially NULL m_sock in Disconnect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:08:25 +00:00
Vadim Zeitlin
ecb7235d76
don't use m_stylePopup inside GetRichTextCtrl() before testing whether it's NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:05:25 +00:00
Vadim Zeitlin
af4bfc044f
check that we don't use a NULL pointer in XCopyRemote()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:59:11 +00:00
Vadim Zeitlin
fe03e62800
added wxCHECK to ensure that we don't dereference a NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:57:43 +00:00
Vadim Zeitlin
bb5521a9f3
no real changes, just fixed confusing (to both people and coverity) mix of testing for m_parent and GetParent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:53:09 +00:00
Vadim Zeitlin
641ed513f8
check for alpha first, then mask, in BlurHorizontal/Vertical(): not only this makes more sense but it also prevents crashing for images which have both (see coverity CID 172)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:49:08 +00:00
Vadim Zeitlin
16fc7c4524
no real changes, just attempt to work around false coverity report 130
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:46:32 +00:00
Vadim Zeitlin
cbaa866f0a
use wxCHECK instead of wxASSERT to avoid use of NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:39:49 +00:00
Vadim Zeitlin
cd5dea50f8
don't use potentially NULL m_styleListBox (coverity CID 190)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:35:44 +00:00
Vadim Zeitlin
54a8a78e3b
OnTabEndDrag() didn't handle NULL src_tabs case correctly but it seems that this is not supposed to actually happen, so assert that it doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:32:45 +00:00
Vadim Zeitlin
e19a8aea87
removed virtual GetSelectedBitmap() from the base wxDC class, it only makes sense for wxMemoryDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:27:08 +00:00
Vadim Zeitlin
ba5787676d
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load() (thanks coverity)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:43:31 +00:00
Vadim Zeitlin
26564cf29d
test whether pointer is non-NULL before using it, not after, in wxDoFindStringInList (this was probably harmless though)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:41:44 +00:00
Vadim Zeitlin
29014baaa5
added a check that we have a non-NULL scrollbar in wxScrollBarCallback()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:39:24 +00:00
Vadim Zeitlin
c5c0121402
don't dereferencep ossibly NULL pointers in DoScreenToClient/ClientToScreen()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:34:41 +00:00
Vadim Zeitlin
e1379e29e2
don't return junk from wxGetOsVersion() if we failed to execute 'uname -r' (thanks coverity)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:22:18 +00:00
Vadim Zeitlin
d0cf495347
replaced run-time tests for wxRICHTEXT_USE_TOOLBOOK with compile-time ones to avoid warnings about condition being always true/false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:19:43 +00:00
Vadim Zeitlin
a6a68df85b
move m_perDisplayData destruction to dtor from CleanUp() to fix a rare memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:15:00 +00:00
Vadim Zeitlin
3681c515e2
check that the pointer is non-NULL before using it in OpenFile() (thanks coverity)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:11:09 +00:00
Vadim Zeitlin
4b5a7d3d09
check that filename pointer is non-NULL before using it, not after (coverity warning); don't pass NULL fp to fclose()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:06:29 +00:00
Vadim Zeitlin
61011e917f
don't use C++ comments in C file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:04:22 +00:00
Vadim Zeitlin
c6a6bbbf63
disable select root menu command when the root is hidden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:58:01 +00:00
Vadim Zeitlin
8a536fa330
don't crash when attempting to select hidden tree root (bug 1681118)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:57:15 +00:00
Vadim Zeitlin
3f0df5c401
this project file is obsolete, now treectrl.dsp is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:45:58 +00:00
Vadim Zeitlin
61053de43b
don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:14:23 +00:00
Vadim Zeitlin
2e61f68141
fix PangoFontMetrics leak in GetCharHeight() (bug 1691180)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:48:58 +00:00
Chris Elliott
b8c73e75d0
allow absolute path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 08:09:16 +00:00
Vadim Zeitlin
617fb24fc9
define wxHAS_NATIVE_TAB_TRAVERSAL in wx/features.h; include wx/defs.h from wx/containr.h to get this definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 02:07:49 +00:00
Václav Slavík
759d51f229
fixed warning about comparing int to size_t
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 19:10:43 +00:00
Václav Slavík
f4c90fdfaf
added wxCStrData::operator- for compatibility with expressions like 'c_str() + n - 2'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:42:04 +00:00
Václav Slavík
171d613212
added creation of wxUniChar from int and conversion to int, for backward compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:35:16 +00:00
Vadim Zeitlin
a237d7ed48
fix memory leak when handling background attribute (patch 1687900)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:12:59 +00:00
Vadim Zeitlin
6f45066bd8
fix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:01:21 +00:00
Vadim Zeitlin
7c9cc57c02
rebaked with the fix for the directories with spaces in their names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:43:46 +00:00
Vadim Zeitlin
a970aa7a50
added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:42:30 +00:00
Vadim Zeitlin
eecc043f6c
rebaked after adding new string-related headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:40:32 +00:00
Václav Slavík
d483da3c76
more wxString::append() tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 16:14:26 +00:00
Vadim Zeitlin
436bb9f539
added overloads of operators for wint_t for VC when the code is compiled with /Zc:wchar_t option (default in VC8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 15:05:34 +00:00
Vadim Zeitlin
e57ee9bb0c
define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compiler doesn't support it, otherwise it can result in compiler errors when wx/defs.h is included before a standard header using ATTRIBUTE_PRINTF() as (at least version 2.6.20 of) xmlerror.h from libxml2 does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 14:03:53 +00:00
Chris Elliott
7d73178688
put html docs in own dir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 13:28:41 +00:00
Chris Elliott
d2499ec278
remove contrib docs from daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 12:13:09 +00:00
Chris Elliott
c1bf673475
add tex2rtf docs to routine build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 11:03:51 +00:00
Chris Elliott
81769ae053
zip32 should be zip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 10:52:58 +00:00
Chris Elliott
61d31e9528
remove contrib docs from daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:17:36 +00:00
Chris Elliott
08e8a24d33
uppercase CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:16:38 +00:00
Chris Elliott
14980f5162
remove build of contrib docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:04:32 +00:00
Chris Elliott
7c5e27c0e5
only get todays files from top level dir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:01:22 +00:00
Václav Slavík
e7aab1094d
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 06:18:23 +00:00
Vadim Zeitlin
b7d403419e
added wxString::operator[](int) as it's commonly used in code working with file/stream read functions which have int return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 18:25:25 +00:00
Václav Slavík
359bd4d1a2
allow passing wx[W]CharBuffer to wx vararg templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 18:03:26 +00:00
Václav Slavík
a7ea63e21f
split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 11:35:07 +00:00
Václav Slavík
ad78ab8c50
made wxHashMap work with any form of strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:46:46 +00:00
Václav Slavík
4ca056ea2b
added test for operator?: and wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:40:22 +00:00
Václav Slavík
a962cdf410
re-enabled using std::string for wxStringImpl if wxUSE_STL again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:37:34 +00:00
Vadim Zeitlin
08295a040c
update from helix84
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 00:02:34 +00:00
Julian Smart
378c9833b7
Need an extra pixel when divider present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 13:42:42 +00:00
Václav Slavík
463c2e5bc7
disabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUNCTION2_IMPL macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 10:13:52 +00:00
Václav Slavík
b1d3206523
fixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 09:40:02 +00:00
Robin Dunn
cbfc9df676
Merge recent changes from 2.8 branch.
...
Make updates for recent changes on CVS HEAD.
Remove or workaround deprecated items.
Fix compile errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 01:49:46 +00:00
Vadim Zeitlin
fd4081aa33
make Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow (i.e. not a native wxControl) in the hierarchy; this comes at the price of not being able to use the same key combinations for horizontal scrolling of the windows which do not have wxHSCROLL style and this seems like an acceptable tradeoff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 23:46:31 +00:00
Vadim Zeitlin
b5a4975771
removed wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 23:40:40 +00:00
Vadim Zeitlin
2a1cf3e9ad
use NavigateIn() method instead of sending wxNavigationKeyEvent directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:15:14 +00:00
Vadim Zeitlin
5644933fa6
added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:10:04 +00:00
Vadim Zeitlin
93febff2f3
added taborder sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:24:51 +00:00
Václav Slavík
02f935fbab
added basic test for wxLocale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:12:13 +00:00
Václav Slavík
d7a80cf5cd
use wxString for wxXmlResource::Set/GetDomain(), it's simpler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:07:36 +00:00
Václav Slavík
31b7522e2b
use wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be used with any string literals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:05:04 +00:00
Václav Slavík
f5f93ea573
escape _ in LaTeX sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:50:34 +00:00
Václav Slavík
8f93a29f8e
Preparing wxString for UTF-8 representation:
...
1) split into wxStringImpl class that has std::string-like API and operates on char* or wchar_t* data and wxString class that provides Unicode iterators and indexes
2) added both char* and wchar_t* versions of many wxString methods to avoid having to use _T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:28:04 +00:00
Robin Dunn
d9485f89b8
Forward port of my recent changes in the 2.8 branch:
...
* Force use of floating point math in wxGCDC::DoDrawEllipticArc.
* Check for 0.5 offset in wxGCDC::DoDrawRoundedRectangle and
DoDrawEllipse. Set wxGDIPlusContext to use the offset.
* Avoid crash in wxStdDialogButtonSizer::Realize if there is no
negative button.
* Provide implementations for wxCairoPathData::AddPath,
wxCairoContext::Clip, wxCairoContext::DrawBitmap,
wxCairoContext::DrawIcon, and wxCairoContext::GetTextExtent.
* Fix wxCairoContext::DrawText to draw the text using the upper-left
corner for the x,y position, not the baseline.
* Fix wxMacCoreGraphicsRenderer::CreateContext to be able to use a
wxMemoryDC as the target.
* Map wxTELETYPE font family on wxMac to a monospace font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:08:41 +00:00
Vadim Zeitlin
28e88942bc
use native TAB traversal for GTK+ 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:30:20 +00:00
Vadim Zeitlin
5486c1a283
added ellipsis to a couple of stock labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:27:27 +00:00
Vadim Zeitlin
147adf0a3a
fixed compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:20:30 +00:00
Vadim Zeitlin
8af53fb428
use more complicated layout; added wxTE_PROCESS_TAB test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:06:13 +00:00
Vadim Zeitlin
b348c1dac1
send wxNavigationKeyEvent to the correct window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 15:14:21 +00:00
Vadim Zeitlin
d63f7562cf
added taborder sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 15:07:10 +00:00
Vadim Zeitlin
2a69b4e849
assert if AddRoot() is called twice for a wxTR_HIDE_ROOT tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 13:07:15 +00:00
Julian Smart
4f0cd9b61e
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 09:42:43 +00:00
Václav Slavík
92d21a8a07
added missing operators to wxString::reverse_iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 08:25:47 +00:00
Vadim Zeitlin
6b81fbd8de
do accept focus in notebook as it needs it for tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 23:00:36 +00:00
Vadim Zeitlin
3368424ae8
don't accept focus in book control itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:55:35 +00:00
Vadim Zeitlin
de160b0647
don't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently it never is)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:41:11 +00:00
Vadim Zeitlin
ad02525dad
don't check whether the window is shown and enabled in AcceptsFocus() itself
...
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:36:24 +00:00
Vadim Zeitlin
4542739ccb
why was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make sense -- and if it does it should probably be done at the base class level, not here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 21:17:19 +00:00
Václav Slavík
2233af93b0
remove wxStringBase::AllocCopy(), it wasn't used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 19:46:05 +00:00
Vadim Zeitlin
16a81f6fe7
remove all the tags for development branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 13:54:19 +00:00
Vadim Zeitlin
2dd8d2d7f0
update status bar display when we don't have focus too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 13:43:30 +00:00
Vadim Zeitlin
378b042b98
make wxNO_BORDER work with wxRadioBox (patch 1525406)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 01:57:24 +00:00
Vadim Zeitlin
785d8330bb
respect the current default style in SetValue() (modified patch 1684613)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 01:30:46 +00:00
Vadim Zeitlin
8639b30da1
document GetBufferSize() (patch 1687070)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:54:40 +00:00
Vadim Zeitlin
c98543210a
corrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:53:13 +00:00
Vadim Zeitlin
38b36b4c67
corrected link to gettext manual (part of patch 1686335)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:52:19 +00:00
Vadim Zeitlin
0e2132fd88
extract popup menu item labels from Scintilla sources too (patch 1679509)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:51:03 +00:00
Vadim Zeitlin
b1c673942d
moved Write(const wxString&) to .cpp files as they're going to be changed again soon; removed unnecessary casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 14:42:29 +00:00
Julian Smart
bd3f83f763
Test for encoding conversion success in wxFile::Write to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 10:21:48 +00:00
Julian Smart
f3140390f9
Test for encoding conversion success in wxFFile::Write to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-24 10:20:14 +00:00
Vadim Zeitlin
8145496b9b
more changes from 2.8.4 added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:24:11 +00:00
Vadim Zeitlin
b40bf35c76
don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:20:30 +00:00
Vadim Zeitlin
c961c0cfca
fixed compilation for Windows compilers now after last change: replaced conversions to ushort and uint with a conversion to wint_t but do it for (non-Apple) gcc only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 15:16:08 +00:00
Vadim Zeitlin
2a686bd333
added conversions to unsigned short: this fixes compilation for some platforms where wint_t is ushort (mingw32)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 15:00:12 +00:00
Kevin Ollivier
e608ff58de
If using the system Window menu on OS X, integrate any Window wxMenu items into the system menu, rather than having duplicate Window menus (current behavior).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:53:55 +00:00
Vadim Zeitlin
9a183206da
compilation fix after wxCStrData changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:20:12 +00:00
Vadim Zeitlin
2e53e220c2
compilation fix after wxCStrData changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:14:42 +00:00
Vadim Zeitlin
15506ffe15
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:13:47 +00:00
Vadim Zeitlin
47a8a4d5cc
make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:01:53 +00:00
Vadim Zeitlin
68a9527d51
destroy m_impl even if an exception is thrown from the main loop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 13:24:55 +00:00
Vadim Zeitlin
1a81eea8d4
also removed WXDLLIMPEXP_BASE from friend declaration of wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 12:27:51 +00:00
Václav Slavík
90adbcca75
wxLogGeneric usage compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 09:31:07 +00:00
Vadim Zeitlin
bb650010c8
removed dll export declaration for wxCStrData: it's unneeded because the class is fully inline and creates problems with mingw32 3.4.2 which wanrs about functions defined locally after being declared with dll linkage and then fails to link wxBase DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 01:45:17 +00:00
Vadim Zeitlin
ccd4deab6b
fix DLL build with MSVC: it wasn't happy that some functions of a template class were not implemented, so get rid of FromCStrData() and implement its logic in one of the 2 derived classes ctors instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 00:04:15 +00:00
Václav Slavík
d18c8d3d94
reimplemented wx[W]CharBuffer using templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 23:31:08 +00:00
Vadim Zeitlin
17709275f9
added explicit conversion of wxCStrData to const void * to resolve ambiguity between const char * and const unsigned char * conversion when passing s.c_str() to e.g. file output functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 19:24:41 +00:00
Vadim Zeitlin
98c4eb3910
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can be either unsigned short or unsigned int or possibly something else)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 19:13:50 +00:00
Vadim Zeitlin
fb52c2b671
added macros to avoid code repetition when defining comparison operators; use them to replace existing operators in wxUniChar and wxUniCharRef (fixing bug in the operator== and != of the latter) and added comparison operators for const wxChar * and wxCStrData which are needed to compile existing code comparing pointers with s.c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:03:02 +00:00
Vadim Zeitlin
dbea442a15
added wxCStrData conversion to const unsigned char * too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 17:28:00 +00:00
Vadim Zeitlin
b77afb41f3
add operator+=(unsigned char) for backwards compatibility and because we generally handle both signed and unisnged chars everywhere; added wxString(const wxCStrData&, size_t) ctor to resolve ambiguity between wxString(const char *, size_t) and wxString(const unsigned char *, size_t) and wxString(const wxString&, size_t) to resolved embiguity for string parameter of ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 17:26:09 +00:00
Vadim Zeitlin
bd72306dc8
added conversion to unsigned int too: this is needed to be able to pass s[n] to standard toxxx/isyyy() functions under Windows when _MBCS is defined as they're mapped to _mbzzz(unsigned int) in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 15:24:28 +00:00
Vadim Zeitlin
6346588525
removed Matches(const wxChar *, int=0) overload: it creates ambiguity with Matches(const wxString&, int=0) one when re.Matches(s.c_str()) is called now that c_str() returns wxCStrData which can be converted to both const wxChar * and wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 15:20:50 +00:00
Vadim Zeitlin
191abe25ad
correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.144, patch 1685634)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 03:01:50 +00:00
Vadim Zeitlin
5a5f4ba417
rename wxlike-libdirname to just wxlike-dirname (patch 1685279)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:56:15 +00:00
Vadim Zeitlin
f785bfddbd
don't lose the combobox text when it's opened and closed (patch 1684252, closes bug 1612994)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:43:52 +00:00
Vadim Zeitlin
b8ec69e863
use correct background colour for the box label when foreground colour is set (remaining part of patch 1683573)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:28:06 +00:00
Vadim Zeitlin
441dfa1d99
call GetTextExtent() after selecting the correct font into DC in PaintForeground(), fixes label drawing for non default font sizes (part of patch 1683573)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:25:25 +00:00
Vadim Zeitlin
342a2719e0
use wxIsEmpty() instead of deprecated IsEmpty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-21 23:36:17 +00:00
Jouk Jansen
8e3d083ba0
Committing in .
...
Updates for OpenVMS support
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-21 10:55:40 +00:00
Jouk Jansen
5992e60b96
Committing in .
...
VMS updates
Modified Files:
descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-21 09:54:51 +00:00
Paul Cornett
83dcd78142
revert use of AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-21 04:29:57 +00:00
Vadim Zeitlin
05cc594ad2
removed extraneous comma at the end of wxGridDirection enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:06:06 +00:00
Vadim Zeitlin
a7f8eb6d0f
removed extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:05:09 +00:00
Vadim Zeitlin
c6ba246b98
no changes, just fixed spelling of 'indeterminate'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 16:23:12 +00:00
Václav Slavík
9f1b1b78e1
added wxUniChar <-> unsigned char conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 15:49:45 +00:00
Vadim Zeitlin
eb4083ef0b
removed unnecessary WXDLLIMPEXP_CORE from private classes (fixes VC warning about DLL-exported class using non DLL-exported GraphicsStates in DLL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 13:39:31 +00:00
Václav Slavík
6c4f5ea559
compilation fixes for !wxUSE_INTL case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 13:32:05 +00:00
Vadim Zeitlin
7ecb75b78e
prevent GTK+ from changing locale when wxUSE_INTL==0, this makes the behaviour consistent with the other ports in this case too (and not only when wxUSE_INTL==1 and the locale is changed (in all ports))
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 13:29:36 +00:00
Vadim Zeitlin
ca08b543ec
don't offset the window being centered more than strictly necessary for it to be on screen (replaces patch 1683239)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 12:56:53 +00:00
Václav Slavík
76046d7390
compilation fix after STL fixes if 2.8 compatibility is enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 08:14:06 +00:00
Vadim Zeitlin
0cb6a6e451
fix non-PCH build after latest change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 22:36:31 +00:00
Vadim Zeitlin
d642a7226f
deprecate wxTR_EXTENDED and remove it from the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:35:49 +00:00
Vadim Zeitlin
f005ea42f0
fixed handling of accelerators using PageUp/Down keys (bug 1683613)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:18:20 +00:00
Vadim Zeitlin
d536aafb14
corrected VT_DATE conversion (bug 1683882)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 19:58:50 +00:00
Václav Slavík
992527a573
fixed compilation if wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 19:23:33 +00:00
Václav Slavík
6580df1b72
fixed missing ; after class declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:27:08 +00:00
Václav Slavík
c7554da8a9
tagged IsEmpty(), Strlen() and Stricmp() global functions as deprecated, 2.8-compat (they're documented as compatibility only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:47:10 +00:00
Václav Slavík
5d36cf23a7
fixed wrong include path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:38:20 +00:00
Václav Slavík
dbecee02ed
use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:22:11 +00:00
Václav Slavík
d1b7ed6792
wxUniChar::unicode_type -> value_type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:17:37 +00:00
Václav Slavík
e80118cfb9
added makefile targets for building individual libs, e.g. 'make wxnet'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:12:19 +00:00
Benjamin Williams
ce457f1245
applied patch 1683441
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:52:48 +00:00
Václav Slavík
e3f6cbd99c
split wxchar.h into several smaller headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:45:38 +00:00
Václav Slavík
dd0ef3324b
split wxchar.h into several smaller headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:39:58 +00:00
Vadim Zeitlin
c8eb817283
added wxString::operator=(const wxCStrData&) to make it possible to compile code like "wxString s = s.c_str() + 1" again (also fixes wxGTK1 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:19:56 +00:00
Vadim Zeitlin
414b7b4016
added ctor for wxChar/WCharBuffer from wxCStrData in ANSI/Unicode build to make it possible to compile code like "wxCharBuffer buf = s.c_str()" again (in particular, fixes wxGTK1 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:18:02 +00:00
Václav Slavík
e229d82e0e
fixed wxDataViewCtrl compilation with DigitalMars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:03:02 +00:00
Vadim Zeitlin
0f767c96b2
fix non-PCH build after latest change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 12:52:06 +00:00
Vadim Zeitlin
f7b3c5ec4c
handle 0 timeout in RunLoop() correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 02:29:49 +00:00
Vadim Zeitlin
8cdd754651
initialize m_maxFD to avoid passing invalid values to select()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 02:27:34 +00:00
Vadim Zeitlin
ce2fe5bc8a
implement DoStretchBlit() in terms of DoBlit() and SetUserScale()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:53:53 +00:00
Vadim Zeitlin
102798af35
compilation fix for switch(wxChar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:38:37 +00:00
Vadim Zeitlin
8b34b16301
return wxFONTENCODING_ISO8859_1, not wxFONTENCODING_SYSTEM, from wxLocale::GetSystemEncoding() when locale is C under Unix (why didn't we do this before?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:37:22 +00:00
Vadim Zeitlin
a14670e28e
use wxCollapsiblePane in the log dialog (patch 1624796)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:23:03 +00:00
Vadim Zeitlin
96360917d3
fixed all the other ports broken by controls labels in wxToolBar patch commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:22:18 +00:00
Vadim Zeitlin
d8b48f4de9
compilation fix after wxUniChar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:21:07 +00:00
Vadim Zeitlin
9b13595038
fix compilation after c_str() changes, mainly by replacing c_str() with mb_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:59:08 +00:00
Vadim Zeitlin
551fe9528a
added wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:53:06 +00:00
Vadim Zeitlin
a1f1afe401
added missing wxGUIAppTraits::SetLocale()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:49:03 +00:00
Vadim Zeitlin
c1df0a3b58
add overloads of wxString and wxCStrData::operator[] taking long, for consistency with std::string classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:06:17 +00:00
Vadim Zeitlin
acf0c9acfc
added wxCStrData::operator+(long) overload (this fixes some compilation errors in wxGTK1 and probably not only there)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:59:09 +00:00
Vadim Zeitlin
07d02e9ee0
fixed all the other ports broken by controls labels in wxToolBar patch commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:57:20 +00:00
Vadim Zeitlin
2a015b8917
replaced c_str() with mb_str() to fix compilation after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:52:35 +00:00
Vadim Zeitlin
6b4f099df5
fixed typo in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:18:55 +00:00
Vadim Zeitlin
cdb11cb99e
added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:13:18 +00:00
Vadim Zeitlin
88c23b64c7
fix assert because of passing more than one border bit in style to the base class Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:07:58 +00:00
Vadim Zeitlin
02c7347b7f
modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have either (as is the case with wxConvLocal); this fixes an infinite recursion in wxMac after the latest changes as wxLocale::GetSystemEncodingName() there returned empty (and not NULL) string which resulted in call to wxFontMapperBase::CharsetToEncoding() and reentrancy into wxConvLocal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 21:12:20 +00:00
Vadim Zeitlin
d2ea08b9e1
don't check if the file exists if we don't use it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 21:08:17 +00:00
Vadim Zeitlin
b2c3b76648
give us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible behind it (patch 1683221)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 20:34:50 +00:00
David Elliott
8b6fd08a41
wxTopLevelWindowCocoa::SetTitle title parameter is used as of VZ 1.35.
...
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 19:26:44 +00:00
Vadim Zeitlin
c12291f32c
fix XModifierKeymap memory leak (patch 1683137)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:48:04 +00:00
Vadim Zeitlin
466e87bd8c
use wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplification and cleanup but also in change of the default file locations under Windows (replaces patch 1620492)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:34:11 +00:00
Vadim Zeitlin
e3b81044ee
wxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 15:32:27 +00:00
Vadim Zeitlin
fa3b08caf1
fix the run-time behaviour after the last compilation fixing patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:56:05 +00:00
Vadim Zeitlin
abbb59e8eb
added wxJoin and wxSplit functions (modified patch 1638950)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:43:41 +00:00
Vadim Zeitlin
2d2dd913b7
fix VC warning about applying unary minus to unsigned type yielding still unsigned result by using wxFileOffset instead of size_t
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:32:55 +00:00
Vadim Zeitlin
48eba62925
compilation fixes after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:29:30 +00:00
Vadim Zeitlin
4af1a3931e
removed minimal-specific Info.plist; updated the version in the generic one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:54:18 +00:00
Vadim Zeitlin
3ddb5c284b
list samples/Info.plist in one manifest only (the Mac one); remove samples/minimal/Info.plist and (non existent) samples/minimal/minimal.pbproj/project.pbxproj
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:51:22 +00:00
Vadim Zeitlin
c76f52c9c8
corrected typo in \texttt in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:19:28 +00:00
Vadim Zeitlin
b3eb9bf553
updated portability note for wxGetDiskSpace (patch 1682889)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:05:50 +00:00
Vadim Zeitlin
f252b6587c
fixed signed/unsigned comparison warnings; reformatted the code a little
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:55:05 +00:00
Vadim Zeitlin
1693108cfe
compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:52:29 +00:00
Vadim Zeitlin
f705f97d31
removed tests for WXWIN_COMPATIBILITY_2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 17:00:47 +00:00
Vadim Zeitlin
0727e0a7f8
produce better HTML output by using Unicode equivalents of LaTeX quotes and dashes (patch 1610494)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:57:31 +00:00
Vadim Zeitlin
216d173fba
renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this is what it really does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:48:11 +00:00
Vadim Zeitlin
76ff8ed673
don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:46:23 +00:00
Vadim Zeitlin
9076e56d93
fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:39:58 +00:00
Vadim Zeitlin
399a4fe570
call wxYield() to force display of the busy info frame contents under wxGTK (patch 1511746)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:20:33 +00:00
Vadim Zeitlin
2d76b6d8c3
implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all stream tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:38:09 +00:00
Vadim Zeitlin
764471557e
added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:28:28 +00:00
Vadim Zeitlin
badea31707
gcc signed/unsigned warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:01:59 +00:00
Vadim Zeitlin
67393addd8
corrected WX_DEFINE_VARARG_FUNC_NOP usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:00:51 +00:00
Vadim Zeitlin
f6eaf52a45
output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:39:17 +00:00
Vadim Zeitlin
7e7e2b4e9a
removed Classic files from the manifest after removing them from the cvs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:28:10 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
cd632a8617
shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:14:33 +00:00
Václav Slavík
480f42ec8e
added missing #pragma hdrstop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:19:35 +00:00
Václav Slavík
f8087c0d2c
changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:10:17 +00:00
Roman Rolinsky
37867b24f6
default setting fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 19:09:58 +00:00
Vadim Zeitlin
7b2d175c47
regenerated after wxSelectDispatcher addition (patch 1618976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:43:44 +00:00
Vadim Zeitlin
47239bd6b6
wxX11 Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:40:12 +00:00
Vadim Zeitlin
72fa3e8a21
make wxFDIOHandler dtor virtual, it's meant to be used as a base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:17:04 +00:00
Vadim Zeitlin
30c45bdd06
refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:45:12 +00:00
Roman Rolinsky
7058b79442
warning about %comments, CHANGES.txt updated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:42:23 +00:00
Vadim Zeitlin
bdba6fdc0d
VC6 has problems with std::vector and identifiers names 'iterator' in GDI+ headers; switch to using our own stack class instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:17:36 +00:00
Vadim Zeitlin
46ba1bb26d
VC6 compilation fix (don't reuse the same variable in 2 for loops)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:13:22 +00:00
Vadim Zeitlin
609da8bbad
added more message names to wxGetMessageName() (modified patch 1611819)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:24:01 +00:00
Roman Rolinsky
5050b626e5
Added Preferences dialog (and defaults for some parameters)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:19:53 +00:00
Roman Rolinsky
552240ce17
collapsing tool panels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:14:49 +00:00
Václav Slavík
b7452b3a0e
removed wxArrayString casting hack, it doesn't work with the new wxString class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 12:57:46 +00:00
Roman Rolinsky
c1dda21b64
default values for option and flag (TODO: preferences dialog)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:27:25 +00:00
Julian Smart
5bcdac458c
Further correction in case where string value is omitted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:13:14 +00:00
Vadim Zeitlin
632e5b636d
don't waste time updating state of tools in a hidden toolbar (patch 1612415)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 02:30:35 +00:00
Vadim Zeitlin
a6c2e2c765
include wx/msw/missing.h after wx/msw/private.h, otherwise we get warnings when compiling without PCH (replaces patch 1674510)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:56:28 +00:00
Vadim Zeitlin
e6733873f5
multiple fixes to wxJoystick under Unix and new index-based API for accessing joystick buttons and axes (patch 1678497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:51:43 +00:00
Vadim Zeitlin
0fa5ce0c76
use safer RemoveEventHandler() instead of PopEventHandler() (patch 1678016)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:43:32 +00:00
Vadim Zeitlin
9092371c0a
do nothing in ShowHidden() if the flag doesn't change (patch 1678963)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:30:33 +00:00
Vadim Zeitlin
e26d5213ec
call GetWidth/Height() only once in Rotate() and not inside the loops (patch 1681544); some minor code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:19:16 +00:00
Roman Rolinsky
f2ccaa2279
another fix for undo/redo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 22:39:26 +00:00
Vadim Zeitlin
75cbbafdeb
don't add wxVSCROLL if only wxHSCROLL is explicitly specified (and vice versa), only add (both) if no scrolling styles are specified at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 20:32:36 +00:00
Roman Rolinsky
a023b456b4
- undo/redo fix for nonchecked items
...
- global modified state set as soon as possible
- "option" property renamed to "proportion"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 19:17:27 +00:00
Vadim Zeitlin
733f486aac
added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:44:41 +00:00
Stefan Csomor
03cebc22cb
reverting one line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:32:29 +00:00
Vadim Zeitlin
b62f94ff48
added wxGridUpdateLocker helper class wrapping Begin/EndBatch() calls in a more convenient and safe way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:25:15 +00:00
Julian Smart
7660b85c31
Don't send initial event in ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 16:09:57 +00:00
Václav Slavík
fab3f50eb7
fixed wxDataViewCtrl compilation with DigitalMars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:31:38 +00:00
Vadim Zeitlin
f06db45d64
removed outdated Classic files to avoid confusing people
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 04:04:54 +00:00
Vadim Zeitlin
fa5f72b36f
added wrapper functions allowing to postpone loading of GDI+ DLL until it's really needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:43:33 +00:00
Vadim Zeitlin
0024ec5086
extracted code including gdiplus.h in a separate header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:41:52 +00:00
Roman Rolinsky
8c64c153a0
searching for plugins in XRCEDPATH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 02:30:13 +00:00
Vadim Zeitlin
5ab9534bc6
fix GetSize() for large files (patch 1680876)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:18:05 +00:00
Roman Rolinsky
aea9f6d5d3
cleanup of modules loaded from comment directives
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:18:26 +00:00
Roman Rolinsky
a616619755
moved custom menu up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:17:48 +00:00
Vadim Zeitlin
8d3a53745e
suppress unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:13:57 +00:00
Vadim Zeitlin
34c76c8155
last change was wrong, fix wxUSE_MDI==0 build without completely disabling this file compilation when wxUSE_MDI==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:07:58 +00:00
Václav Slavík
32efa676be
constructing a sentence dynamically is not i18n-friendly, fixed to use two separate translatable strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:03:34 +00:00
Roman Rolinsky
c0d5ae7447
more custom classes support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 18:33:45 +00:00
Vadim Zeitlin
5647b95a66
replace (deprecated) Get/UngetWriteBuf() with wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:28:14 +00:00
Vadim Zeitlin
87d3473070
removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:11:52 +00:00
Roman Rolinsky
cb949fa96c
wxLED_ALIGN_MASK fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:05:04 +00:00
Vadim Zeitlin
65aeaf19f6
implement Set/GetTitle() (last part of patch 1679337)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 13:39:30 +00:00
Václav Slavík
49a70977b3
constructing a sentence dynamically is not i18n-friendly, fixed to use two separate translatable strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 12:04:26 +00:00
Vadim Zeitlin
58afa32bf4
don't really enable the window when its parent is disabled, just remember to do it later when the parent is enabled back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 11:44:19 +00:00
Chris Elliott
fdf19d289f
build 2.8.2 html and htb docs on windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 10:39:58 +00:00
Vadim Zeitlin
4dd2530846
avoid duplicated empty help menu in localized applications (patch 1600747
)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:37:07 +00:00
Vadim Zeitlin
6fa2dd0eb9
don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:25:20 +00:00
Vadim Zeitlin
e8ddc5bda1
changed literal "minimal" strings to $(PRODUCT_NAME) (patch 1509610); updated version and copyright
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:00:54 +00:00
Roman Rolinsky
00d153468c
Support for custom controls, first attempt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:59:38 +00:00
Vadim Zeitlin
aa67a27af1
implemented Set/GetLabel() (part of patch 1679337)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:46:08 +00:00
Vadim Zeitlin
d174f457e6
implemented GetLabel() (part of patch 1679337)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:45:47 +00:00
Vadim Zeitlin
e55a667c1c
test for pthread_mutex_timedlock() availability in configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:37:26 +00:00
Vadim Zeitlin
8c58338193
allocate HPEN on demand instead of doing every time a pen property is modified; also significant code cleanup (finally)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:01:27 +00:00
Vadim Zeitlin
8e34db1d94
allocate HFONT on demand instead of doing every time a font property is modified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 21:59:55 +00:00
Vadim Zeitlin
adbd3cbc71
fix setting the properties of a valid but unshared font object broken in the last commit (HFONT wasn't recreated)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 20:35:58 +00:00
Vadim Zeitlin
4215a4386e
corrected example; minor fixes to the text; uncommented insertion of the bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 15:08:30 +00:00
Vadim Zeitlin
39013ba095
removed extraneous semicolon (bug 1679080)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:34:46 +00:00
Vadim Zeitlin
861a14e13c
fix window repainting when SetLineCount() is called (patch 1667599; closes bug 1639629)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:29:34 +00:00
Benjamin Williams
092d7f88f6
prevent disappearing menus in tabmdi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 13:52:34 +00:00
Vadim Zeitlin
0e5ab03007
include <locale.h> before using setlocale()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 12:56:54 +00:00
Vadim Zeitlin
01078b2b22
include wxUniv files in wxDFB distribution
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 12:01:43 +00:00
Benjamin Williams
badcaaaf32
applied patch 1675101 - reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 10:30:47 +00:00
Julian Smart
0b14a7bdfd
Applied patch [ 1678626 ] Non-ascii characters in wxRichTextCtrl (unicode build)
...
Laumingis Skripkauskas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 07:46:56 +00:00
Jouk Jansen
24b3a55485
Modified Files:
...
wxWidgets/setup.h_vms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 06:51:16 +00:00
Vadim Zeitlin
d774f9161c
added wxAppTraits::SetLocale() and call it during wxApp initialization in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 01:46:14 +00:00
Vadim Zeitlin
69c928ef47
added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:38:42 +00:00
Roman Rolinsky
fe295b0d3e
editing comments by editing tree label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:37:08 +00:00
Paul Cornett
9812391356
fix assertions on invalid items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:29:26 +00:00
Vadim Zeitlin
6d50049a5c
use wxConvLibc, not wxConvCurrent, with regerror()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:15:17 +00:00
Paul Cornett
92f4e151a6
put refdata virtuals in the right class this time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 16:46:24 +00:00
Julian Smart
31002e44b5
Fixed wrapping with tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:48:38 +00:00
Vadim Zeitlin
d7e918b594
include wx/object.h now that wxConfigBase derives from wxObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:11:55 +00:00
Roman Rolinsky
b372319fa0
Implemented xxxComment. Due to different minidom XML types (Comments
...
are not Elements) had to add xxxObject.isElement flag and changed
xxxObject.element variable to xxxObject.node (xxxComment is derived
from xxxObject to minimize changes in processing). More testing is still
needed to verify that things didn't break. Use previous commit (0.1.8-4
release on 2007/03/10) if you need a stable version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 05:08:45 +00:00
Roman Rolinsky
047c5f3e6d
Comment icon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 04:35:57 +00:00
Roman Rolinsky
e5280d4fa4
Tree-Comment.png
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 04:35:16 +00:00
Paul Cornett
61a0b9059a
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 03:00:47 +00:00
Vadim Zeitlin
09b86e698c
added support for wxTE_NO_VSCROLL (patch 1588605) and documented its behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:45:48 +00:00
Vadim Zeitlin
6ab069f2b6
test wxTE_NO_VSCROLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:39:08 +00:00
Vadim Zeitlin
c4106e3b2f
last fixes from patch 1604462: fix wxlike-libdirname and change WX_VERSION_DEFAULT to have 2 digits, not 3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:37:57 +00:00
Vadim Zeitlin
385fa87513
compilation fix after last commit: wxPenRefData, not wxFontRefData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:35:02 +00:00
Vadim Zeitlin
0df7cb7e43
argh, added missing comma in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:32:53 +00:00
Vadim Zeitlin
c8b431ad4b
added wxWinVersion_Vista to wxWinVersion enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:31:59 +00:00
Vadim Zeitlin
412b97cc9a
derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:29:44 +00:00
Vadim Zeitlin
532ae0f6ff
set GtkRcStyle::text to fg colour too to allow changing the text colour in single line wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:19:55 +00:00
Václav Slavík
d836b8bcf2
VC6 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:31:45 +00:00
Roman Rolinsky
d84cc8c13b
made test window for Dialog and Wizard a child of g.frame
...
for consistency (probably not important)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:22:00 +00:00
Vadim Zeitlin
40f00746d2
fixed overflow when using sysconf() to retrieve free memory (bug 1524157)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:20:59 +00:00
Roman Rolinsky
4ecdf8fc40
Ctrl-H must not be used on Mac...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:16:48 +00:00
Vadim Zeitlin
b928bd059f
fixed compilation with wxUSE_WXDIB==0 (bug 1667819)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 00:50:06 +00:00
Paul Cornett
ce3b4b90c5
make wxPenRefData private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 23:04:18 +00:00
Paul Cornett
7c310bc89f
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 23:00:52 +00:00
Václav Slavík
18bab03e69
removed C++BuilderX project files, they are broken, not used by anybody and the product is dead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 19:25:51 +00:00
Václav Slavík
be242e631b
removed remaining wx24dsp format references
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 19:20:47 +00:00
Paul Cornett
855f31ebe7
source id type is unsigned; minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:51:55 +00:00
Paul Cornett
b91fd70410
use simpler color ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:50:16 +00:00
Vadim Zeitlin
c4ec0ce820
derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:16:10 +00:00
Vadim Zeitlin
125817d0e3
allow using multiple wxBufferedDCs at once (patch 1589441)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:09:38 +00:00
Vadim Zeitlin
c905c0d60f
miscellaneous LnF improvements, including support for Vista-style (patch 1588794)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:06:11 +00:00
Vadim Zeitlin
33e61c47c0
add many new macros to facilitate using wx from projects using bakefile presets; use more consistent names for the existing macros (in particular, AM_OPTIONS_WXCONFIG and AM_PATH_WXCONFIG have been deprecated in favour of WX_CONFIG_OPTIONS and WX_CONFIG_CHECK) (patch 1604462)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:35:05 +00:00
Vadim Zeitlin
e606c82297
use force=1 with default-value tags (part of patch 1604462)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:30:31 +00:00
Vadim Zeitlin
d65cbb3788
require bakefile 0.2.2 and not 0.2.1 and do it for all platforms (part of patch 1604462)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:29:14 +00:00
Vadim Zeitlin
6b06226335
added GetTextExtent() overload returning wxSize (patch 1631508)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:25:36 +00:00
Vadim Zeitlin
192f8ddc0b
added wxDIRCTRL_EDIT_LABELS style support (patch 1676853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:22:51 +00:00
Vadim Zeitlin
c43507b0fe
include wx/utils.h in PCH-less build to ensure that we get the correct (DLL-exported) declaration of wxHandleFatalExceptions() as otherwise it was silently not exported (patch 1674514)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:21:40 +00:00
Vadim Zeitlin
56d152b225
return effective dnd operation result and not the expected one (replaces patch 1677399)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:27:15 +00:00
Vadim Zeitlin
01ba4b6713
set SO_REUSEADDR before binding for UDP sockets too (2nd part of patch 1667145)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:17:44 +00:00
Vadim Zeitlin
deda45e8c2
allow using numpad enter key to activate the default button too (patch 1640446)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:08:46 +00:00
Vadim Zeitlin
5ca930b18b
don't send incorrect char events when entering Unicode characters (patch 1640443)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:04:47 +00:00
Vadim Zeitlin
8174149440
compilation fix after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:03:49 +00:00
Vadim Zeitlin
5a1c7626d1
corrected the just-added operator=(RGBColor) return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:56:45 +00:00
Vadim Zeitlin
38d377e230
corrected bug due to testing for wrong return value in wxConditionInternal::WaitTimeout() (patch 1650643)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:56:08 +00:00
Vadim Zeitlin
055de35012
added wxColour(RGBColor) ctor and use it insteaf of constructing wxColour from RGBColor manually in several places (replaces patch 1662064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:48:56 +00:00
Stefan Neis
ee864b6db4
Applied patch #1677782 (Lock with Timeout for wxMutex, originally patch #1671637 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 14:27:38 +00:00
Roman Rolinsky
e2dc45d8f1
0.1.8-4
...
-------
Fixes for wxMSW (notebook highlighting, control sizes, tree Unselect).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 13:12:44 +00:00
Paul Cornett
cdf068a42c
use simpler color ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 04:46:18 +00:00
Paul Cornett
be33a1c726
sizeof(char) is 1. By definition.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 03:41:37 +00:00
Vadim Zeitlin
f9efaa8b62
implement wxMutex::LockTimeout() using critical region API too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 23:21:22 +00:00
Václav Slavík
ec5006bdc6
Unicode compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 18:44:19 +00:00
Paul Cornett
6e7b8bcbd7
add 4th parameter to AC_CHECK_HEADER to skip preprocessor check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 17:57:21 +00:00
Václav Slavík
e678981e9a
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:36:11 +00:00
Vadim Zeitlin
0a5af992db
compilation fix for wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:19:45 +00:00
Václav Slavík
7890307b53
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:03:41 +00:00
Vadim Zeitlin
1a74f5615b
compilation fixes after wxGTK_CONV_BACK changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 00:43:16 +00:00
Roman Rolinsky
538a0c0de2
0.1.8-3
...
-------
Notebook page highlighting fix. Highlight resizes when the window
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 15:49:35 +00:00
Vadim Zeitlin
f89919f5e9
include wx/thread.h in debug build which is needed after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:57:42 +00:00
Vadim Zeitlin
a757b4a725
fix extra comma at the end of wxStretch enum introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:31:04 +00:00
Paul Cornett
ca88598dd1
remove unreachable declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:31:24 +00:00
Paul Cornett
df08c3b5a3
add HAVE_ROUND
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:29:36 +00:00
Paul Cornett
cc9ffc23f3
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:28:09 +00:00
Paul Cornett
6d020baf20
use full repaint style instead of size event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:27:29 +00:00
Paul Cornett
7450674943
non-debug build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:26:10 +00:00
Vadim Zeitlin
fd91cec141
use gettimeofday() instead of clock_gettime() as the latter lives in librt which we currently don't link with and it seems not to be worth to add another library just because of wxMutex::LockTimeout()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:46:02 +00:00
Vadim Zeitlin
39affc0451
made wxGetTimeOfDay() public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:44:16 +00:00
Vadim Zeitlin
0475aefcb4
removed WXWIN_COMPATIBILITY_24
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:33:01 +00:00
Vadim Zeitlin
698dd55ced
removed WXWIN_COMPATIBILITY_24
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:24:59 +00:00
Vadim Zeitlin
8f98c051f9
fix infinite recursion typo in operator!=() (patch 1665591)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:18:07 +00:00
Vadim Zeitlin
8d7bfa660d
fix the bug which could have resulted in failing to read config file if a chunk boundary fell in a middle of a multibyte character (patch 1674488)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:15:48 +00:00
Vadim Zeitlin
cb5ec61f65
don't use font sizes less than 1 with Pango (remaining part of patch 1671684); refactor the font size setting code to eliminate duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:44:54 +00:00
Vadim Zeitlin
3d63133a5e
use facename in wxFontRefData::Init() in Unicode build (part of patch 1671684)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:40:38 +00:00
Vadim Zeitlin
696d13ee0e
added wxMutex::LockTimeout() (modified patch 1671637)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:22:11 +00:00
Vadim Zeitlin
4738d6746b
update the value shown in the combobox itself correctly in SetValue() (patch 1669275; bug 1667563)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:46:03 +00:00
Vadim Zeitlin
88f67c2242
test for special keys first, before testing for alphanumeric ones as even keys such as WXK_F2 can be recognized as alnum in some locales, in ToString() (modified patch 1669197; bug 1620758)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:40:22 +00:00
Vadim Zeitlin
823b6635f6
avoid flicker when setting the text which is the same as the current status bar pane value (patch 1669140)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:28:41 +00:00
Vadim Zeitlin
e8f6339b51
fix wrong assert in SetItemBitmap() (patch 1668449; bug 1667505)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:24:27 +00:00
Vadim Zeitlin
28bf2f3c66
fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:18:40 +00:00
Vadim Zeitlin
886f61cacb
fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:16 +00:00
Vadim Zeitlin
ccc8c01a11
don't delete m_pActiveChild twice in wxWINDOWCLOSEALL event handler (patch 1665395, bug 1661995)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:59:11 +00:00
Vadim Zeitlin
f4322df68b
no changes, just removed TABs/trailing spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:56:34 +00:00
Vadim Zeitlin
e4f9c52180
removed unused src/gtk/main.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:54:55 +00:00
Vadim Zeitlin
c8db4e1560
fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:43:30 +00:00
Vadim Zeitlin
d63c9ecf46
take images and margins into account when setting column width to wxLIST_AUTOSIZE_USEHEADER (patch 1664598)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:30:14 +00:00
Vadim Zeitlin
936632d3b2
clip column image (and not only the text) to the column width (patch 1664588)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:26:54 +00:00
Vadim Zeitlin
85bf679acc
fixed detection of number of processors under Linux 2.6 (replaces patch 1663444)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:23:47 +00:00
Vadim Zeitlin
c105dda081
native wxHyperlinkCtrl implementation for GTK+ 2.10+ (patch 1661851)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:12:47 +00:00
Vadim Zeitlin
a48b659563
add checks for GTK+ 2.10 (part of patch 1661851)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:09:57 +00:00
Vadim Zeitlin
2e91a01aea
update m4 files to bakefile 0.2.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:50:47 +00:00
Vadim Zeitlin
72a061ccd2
use critical section to protect global TablesInUse (patch 1660652)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:28:05 +00:00
Vadim Zeitlin
63e0279662
add a note about changing selection background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:59:24 +00:00
Vadim Zeitlin
041254895c
use wxRendererNative::DrawItemSelectionRect() to draw wxVListBox items background unless selection background colour is explicitly set (patch 1650804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:58:18 +00:00
Vadim Zeitlin
c741d33feb
fix warning about non-dllexport'ed base wxDataViewHeaderWindowBase class from MSVC in DLL builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:43:47 +00:00
Vadim Zeitlin
a68962fc90
wxMSWGetColumnClicked must be dllexport'd to be used from another (adv) DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:40:48 +00:00
Václav Slavík
d8a4b666cf
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:01:52 +00:00
Václav Slavík
24ad931818
deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:05 +00:00
Vadim Zeitlin
359fb29e43
merge multiple lines into one as otherwise the display is corrupted/unreadable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:40:08 +00:00
Vadim Zeitlin
93daabe060
removed WXWIN_COMPATIBILITY_2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:23:13 +00:00
Vadim Zeitlin
cde242b856
no changes, just fixed a typo in warning given about wxDragImage when using wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 18:41:31 +00:00
Roman Rolinsky
7df24e7868
0.1.8-2
...
-------
Fix for dealing with empty 'growable' property, using MiniFrame
for properties panel, the panel is restored together with the
main window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 14:45:12 +00:00
Vadim Zeitlin
69ce77e25a
removed deprecated wxADJUST_MINSIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 12:11:35 +00:00
Vadim Zeitlin
0db8bb5866
removed wx/wave.h which was deprecated since 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:55:36 +00:00
Vadim Zeitlin
39b61aa3eb
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:48:53 +00:00
Vadim Zeitlin
56c6fc01a9
no changes, just a typo in SetItemImage() comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:46:43 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Chris Elliott
a0369cb367
fix for sf bug 1671804
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 09:31:30 +00:00
Paul Cornett
bc9e85a319
queue resize on child when its position changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 06:17:23 +00:00
Vadim Zeitlin
0d045709bc
return correct client area for at least the primary display, fixes the problems with incorrect positioning of the Center()d windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 00:25:27 +00:00
Julian Smart
6714afd94c
Correct too-small size when the progress dialog is very simple
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 10:06:56 +00:00
Julian Smart
6fe7685d0c
Made choice convenient dialog more, well, convenient: fixed lack of vertical
...
expansion and increased list size for larger screens.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 09:56:43 +00:00
Julian Smart
13dd765c70
Updated change log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:21:54 +00:00
Julian Smart
0f1fbeb810
Fixed problem with tab size calculation not reflecting current position in the line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:15:01 +00:00
Julian Smart
f94560fec9
Optimization: don't set the base background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:13:40 +00:00
Julian Smart
f0e9eda2a5
Drawing correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:08:15 +00:00
Julian Smart
3e54156282
Implemented text background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 15:22:07 +00:00
Vadim Zeitlin
d38819f56f
use virtual size for the size of the buffer when wxBUFFER_VIRTUAL_AREA style is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 08:54:13 +00:00
Paul Cornett
f08b7bec7f
use AllocExclusive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 06:41:04 +00:00
Vadim Zeitlin
86033c4b6f
handle mouse capture lost event in grid windows and reset the grid to normal state when it happens
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 22:18:35 +00:00
Vadim Zeitlin
d71789cc5b
remove inexistent wxGetMultipleChoice()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 21:11:13 +00:00
Vadim Zeitlin
9ac4391323
wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() directly instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 20:57:46 +00:00
Paul Cornett
ae765fde7b
Don't assert on value change which shouldn't occur, but does. Closes bug 1672671
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-03 18:37:08 +00:00
Julian Smart
20c81bed84
Fixed premature exit of helpview sample and utility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 19:48:43 +00:00
Václav Slavík
e960c20e38
changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used with any string literals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 12:44:52 +00:00
Václav Slavík
1c8c91463f
allow using both char* and wchar_t* in wxFileConfig and wxConfigBase, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 20:03:50 +00:00
Chris Elliott
914e69451f
fix for MSVC see sf bug 1669419
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 08:48:11 +00:00
Vadim Zeitlin
8b31a4a3dc
regenerated with theversion of bakefile which uses quotes around the directory name MAKEDIR which may contain spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 20:47:53 +00:00
Vadim Zeitlin
30083ad8e7
Support encodings in wxGTK_CONV_BACK() in the same way as we do it in
...
wxGTK_CONV(), i.e. return the string containing text in ISO-8859-1 encoding
and not UTF-8 if the controls font was set to have ISO-8859-1 encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 15:41:56 +00:00
Vadim Zeitlin
c0da0dbabf
removed stray return from SetFont()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 14:04:50 +00:00
Vadim Zeitlin
72be9a3a27
call gtk_paint_focus() with NORMAL state, not SELECTED, for unselected items as otherwise the focus rectangle is invisible with some themes (e.g. the Ubuntu default one) and it generally makes more sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 10:58:56 +00:00
Vadim Zeitlin
404ac4c67d
interpret text invalid in the current encoding (typical for UTF-8 environments) as ISO8859-1, this is wrong but better than eating it completely
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 09:53:15 +00:00
Jouk Jansen
eb41aed90a
OpenVMS compile support update
...
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 08:23:09 +00:00
Vadim Zeitlin
9f7617cad6
recognize the encoding name without hyphens as synonym for the same name with hyphens when matching encoding names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 20:21:16 +00:00
Vadim Zeitlin
169c011352
added MSxxx and IBMxxx as synonyms for CPxxx code pages as some systems use these names (too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 19:39:03 +00:00
Václav Slavík
001ad728a4
changed wxArrayString::m_pItems from wxChar* to const wxChar*, the strings are not modified by the class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 15:19:16 +00:00
Kevin Hock
701bc6cab5
Build fix from FM (cascade from object.h changes making wxObjectRefData destructor private)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 02:49:41 +00:00
Robert Roebling
5d3f234b6b
FM small patch for wxDataViewCtrl compilation
...
and warning fixes (dll linking problem).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 21:25:15 +00:00
Julian Smart
0871b34352
Fixed a control-arrow bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 10:30:40 +00:00
Roman Rolinsky
b03466749c
1.8-1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:51 +00:00
Roman Rolinsky
c37cba8974
Fixed SetItemBold and editing 'growable' properties of
...
wxFlexGridSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:07 +00:00
Robert Roebling
9861f022c3
[ 1665996 ] Fixes/extensions to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 07:57:46 +00:00
Julian Smart
4e1fd51de7
Fixed a confusion between window and client size that could lead to
...
gradually increasing window size on repeated layout, by duplicate
application of the client to window size conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 17:57:05 +00:00
Kevin Ollivier
5d2ad2f1db
Fix for crash when an invalid font was being mistakenly identified as valid due to a signed check on an unsigned value, and also change the wxLogDebug statement, as I was getting crashes with %s and wxString.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 01:53:23 +00:00
Václav Slavík
7719a100f7
fixed BAKEFILE_AUTOCONF_INC_M4_VERSION changed by mistake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:55:39 +00:00
Julian Smart
b8f434e731
Applied [ 1613294 ] wxGetMouseState/wxIsKeyDown bug
...
(troelsk - allow for left-handed mouse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:07:26 +00:00
Václav Slavík
d7330233fd
allow creating wxString from char*, assigning to it from char* and comparing with char* values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 20:05:43 +00:00
Václav Slavík
56b1244c21
fixed incorrectly reported WXWIN_COMPATIBILITY_2_6 value in summary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 19:40:24 +00:00
Julian Smart
4794d69c84
Fixed a problem with tabs when text spills over the end of the tab stops
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 12:54:44 +00:00
Václav Slavík
b5c3f53e15
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 11:12:04 +00:00
Julian Smart
88bee7e621
Ignore Windows key
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 07:57:54 +00:00
Václav Slavík
abb6edd197
added WXWIN_COMPATIBILITY_2_8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:02:14 +00:00
Julian Smart
3087eaea04
Layout correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:32:07 +00:00
Julian Smart
bdee9d109c
Doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +00:00
Robert Roebling
87f0efe2d7
Most of FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Robert Roebling
a9fdf82418
Minor parts from FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 11:35:58 +00:00
Robert Roebling
4a11340a1c
[1660792 ] wxObject::Dec/IncRef and wxObjectDataPtr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 09:16:35 +00:00
Vadim Zeitlin
c71b212607
do adjust scrollbars in our EVT_SIZE handler now that we turn them off correctly (otherwise scrollbars wouldn't be shown correctly when the grid becomes too small to show its contents entirely after changes in rev 1.410)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 02:35:50 +00:00
Julian Smart
29392c81aa
IsShown shouldn't cause empty sizers to not have their positions calculated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 22:12:58 +00:00
Vadim Zeitlin
b2df5ddf6a
don't delete inexistent column indices in DeleteCols()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 17:41:58 +00:00
Vadim Zeitlin
97a8589874
suppress warning about casting -1 to guint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 14:47:37 +00:00
Julian Smart
b6a9c1fe89
Added support for hover bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 08:16:37 +00:00
Vadim Zeitlin
23a5584da6
update from Ivan Masar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 02:21:36 +00:00
Vadim Zeitlin
6e26499721
return size without decorations from size_request GTK callback in wxTLW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-15 12:38:55 +00:00
Vadim Zeitlin
f030b28c93
use AllocExclusive() instead of duplicating its code in wxFont-specific Unshare(); this fixes recreating the font whenever it is modified (even if it's not shared) bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 20:35:24 +00:00
Vadim Zeitlin
261205e4e5
corrected StartDoc() return value testing broken in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 17:52:17 +00:00
Vadim Zeitlin
c5bc21bd1f
fix warning about unused variable in release build by using standard wxLogLastError() if StartDoc() fails instead of duplicating it here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:13:06 +00:00
Vadim Zeitlin
744b73167b
fix warning about unused TRACE_MASK variable in release builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:12:12 +00:00
Vadim Zeitlin
0ad2a19e42
corrected IMPLEMENT_DYNAMIC_CLASS macros to ensure that the controls are seen to derive from wxControlWithItems by the wx RTTI code (patch 1659708)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:10:08 +00:00
Vadim Zeitlin
a41b5c2fd4
added wxEL_NO_REORDER style (modified patch 1655969)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:00:14 +00:00
Vadim Zeitlin
e3a50b565b
update from Adiel Mittmann
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 13:35:47 +00:00
Vadim Zeitlin
aa05661d10
Slovak translation added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 13:32:46 +00:00
Vadim Zeitlin
36b89edff4
removed superfluous semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:20:12 +00:00
Vadim Zeitlin
fe9183e785
various compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:15:46 +00:00
Włodzimierz Skiba
c5dc89a1b1
Avoid do-nothing virtuals in WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 17:08:36 +00:00
Włodzimierz Skiba
261fb04124
Make QS_ALLPOSTMESSAGE available everywhere regardless SDK limitations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:30:53 +00:00
Włodzimierz Skiba
b70362998b
WinCE build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 15:52:15 +00:00
Włodzimierz Skiba
b5085b0273
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 15:49:09 +00:00
Julian Smart
5edb3cb52d
Pass correct values to spin control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:01:58 +00:00
Robert Roebling
bb5b728505
Hack to support iso8859 and other wrongly formated
...
filenames in UTF8 locales for file DnD as we do
for the native GTK+ file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 20:31:11 +00:00
Vadim Zeitlin
9390546335
clarify Wait() semantics (see patch 1652076)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:17:18 +00:00
Vadim Zeitlin
68f146206f
fixed LastRead() after Read(wxOutputStream&) (patch 1658301)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:08:13 +00:00
Vadim Zeitlin
419c224122
compilation fix for last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 16:35:02 +00:00
Vadim Zeitlin
64b989fe0b
suppress gcc warnings about invalid format strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 15:32:52 +00:00
Vadim Zeitlin
06b5b35265
don't run WrongFormatStrings test with system printf, it doesn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 14:52:38 +00:00
Václav Slavík
45d23373e0
fixed syntax errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:59:37 +00:00
Vadim Zeitlin
9bc9312015
update from Reinout van Schouwen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:21:11 +00:00
Vadim Zeitlin
5a572f6c0a
removed spurious cast of GetTruncatedJDN() return value to WeekDay enum which breaks the code with Watcom (and maybe others) (bug 1618853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:04:24 +00:00
Robert Roebling
be4bb86efd
Fix wxGTK wxListBox::Append() to return correct
...
index (also for sorted list).
Use wxControlWithItems::Insert(..) methods from
wxListBox (can probably be removed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 14:31:40 +00:00
Robert Roebling
cb738b8baf
pixbuf cursor support is for GTK 2.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 09:27:28 +00:00
Vadim Zeitlin
79e6631727
made GetStrings() const (patch 1655975)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:13:12 +00:00
Vadim Zeitlin
a19918eb35
more const correctness (slightly modified patch 1655991)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:08:33 +00:00
Vadim Zeitlin
f8a280159d
check for wxUSE_MDI which is needed by this code (patch 1656080)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:04:19 +00:00
Vadim Zeitlin
9f556d1dd6
added support for colour cursors in wxGTK (patch 1655576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:02:34 +00:00
Vadim Zeitlin
e216f7c8cf
don't Printf() the string into itself (replaces patch 1655318)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:55:21 +00:00
Vadim Zeitlin
fab86f26bf
miscellaneous minor corrections (patch 1652327)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:53:05 +00:00
Vadim Zeitlin
d12dce0f7f
made AddPendingEvent() virtual (patch 1652077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:42:40 +00:00
Vadim Zeitlin
bc3863bd16
fit the control when its real contents is attached and not simply (re-)layout it as it has no effect (patch 1644924)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:33:17 +00:00
Vadim Zeitlin
9f7a07ab9f
warn if wxVsnprintf() is not being used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:27:29 +00:00
Vadim Zeitlin
7de1a0d196
added test for %c and other minor changes (patch 1643843)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:23:19 +00:00
Vadim Zeitlin
13ab552e4d
don't use strlen() to verify the length of the string as it can contain embedded NULs (patch 1643843; closes bug 1642284)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:22:09 +00:00
Vadim Zeitlin
3c77aabe59
define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:14:49 +00:00
Vadim Zeitlin
20160a32ea
write the entire file at once in Flush() instead of doing it line by line (patch 1656509)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:09:39 +00:00
Vadim Zeitlin
e74d43ab63
compilation fix for 64 bit platforms (where size_t is not unsigned int)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:03:34 +00:00
Vadim Zeitlin
18138662ef
update the popup menu item when it's [un]checked too, as it already happens for the items in the main menu bar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:58:11 +00:00
Vadim Zeitlin
bb596005f5
wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized under wxGTK too now; documented this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:27:26 +00:00
Vadim Zeitlin
d43eb2a0d5
return the restored window size from GetSize() when window is minimized (for consistency with wxGTK and also for convenience)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:21:06 +00:00
Vadim Zeitlin
1e93d59553
changed GetFromWindow() to take const pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:13:22 +00:00
Vadim Zeitlin
2ee322d90c
corrected version in the libraries names: it's only 2 digits even in development branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:50:43 +00:00
Vadim Zeitlin
a6cdd52188
make GetSize() return the size of the window including the decorations and updated SetSize() to account for this as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:44:52 +00:00
Vadim Zeitlin
676e9e35f2
fix compilation with WXWIN_COMPATIBILITY_2_6 off (and probably a bug)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 13:48:45 +00:00
Julian Smart
b9dac1ab88
Don't optimize if there are child windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 09:40:54 +00:00
Julian Smart
a61c912241
Reverted renderer changes and just use window variant within renderer functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Vadim Zeitlin
e0666bdc7b
added EVT_MOUSE_CAPTURE_LOST handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 01:36:10 +00:00
Julian Smart
48e9cac2ad
Updated the mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 21:45:07 +00:00
Julian Smart
f8e1a81f3e
Added size constants to allow drawn control parts to match the window variant,
...
initially on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:16:24 +00:00
Mart Raudsepp
de4a74e2d0
Do not declare GTypeInfo instances static. This is completely unnecessary and just causes unnecessary extra relocations and global stack memory usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 16:12:06 +00:00
Chris Elliott
58261d9a7a
remove out of date files (for dmc and 2.4 wxW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:34:57 +00:00
Vadim Zeitlin
53143e5480
not needed any more now that this directory is not used for building anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:16:34 +00:00
Vadim Zeitlin
084314581d
removed obsolete batch files for building wx with obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:15:42 +00:00
Vadim Zeitlin
114cdc750b
removed obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:09:45 +00:00
Vadim Zeitlin
f10b672bd8
remove USE_GENERIC_TBAR test: USE_GENERIC_TBAR is not defined anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:05:23 +00:00
Vadim Zeitlin
26ef973fa2
fixed incorrect use of UpdateUI handlers; don't use duplicated Ctrl-S accel for two menu items; use the old label value by default when asking for the new one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:04:24 +00:00
Vadim Zeitlin
b33df83245
removed the old tmake project files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:37:27 +00:00
Vadim Zeitlin
f9b5691a1b
added const overload of GetChildren()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:27:25 +00:00
Vadim Zeitlin
86ed9a0dc7
define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:24:17 +00:00
Vadim Zeitlin
afbd54e0d7
fixed unreachable code warning in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:17:37 +00:00
Vadim Zeitlin
efb2c52f8c
fixed what looked like a typo in hit code testing in wxRichTextCtrl::OnMoveMouse()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:15:52 +00:00
Vadim Zeitlin
35c7138631
corrected return value and skipped flag setting in wxScrollHelperEvtHandler::ProcessEvent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 02:26:59 +00:00
Robin Dunn
4976f9967a
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 21:44:44 +00:00
Vadim Zeitlin
365271b573
update the text of a read-only combobox (and hence wxChoice) when selection is changed too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:39:43 +00:00
Vadim Zeitlin
ddaa6e899b
fix unused variable warning with wxUSE_TOOLTIPS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:04:02 +00:00
Robin Dunn
3c69a2ec86
merge from 2.8 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:24:56 +00:00
Vadim Zeitlin
9c49977bd6
define wxUSE_ACTIVEX, not (non existent) wxUSE_OLE_ACTIVEX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:07:56 +00:00
Václav Slavík
0e6383ef7e
fixed makefile.rsp to include samples/Makefile.in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 13:55:45 +00:00
Julian Smart
aeb6ebe2a5
Added flag for removing attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Julian Smart
a1c882c99d
Removed unnecessary assignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:21:42 +00:00
Chris Elliott
ef5fcb0905
fix for bug reported at http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:97233:200702:jkocpijdefodmmdphebn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 10:24:25 +00:00
Robin Dunn
ae4ccf12b6
rebaked after changing the version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Robin Dunn
6cd674726b
Fix unused param warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 01:47:37 +00:00
Robin Dunn
ba142bfbfa
Add wxHL_* styles
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:54:33 +00:00
Robin Dunn
ff7282e135
Allow wxWANTS_CHARS to be effective on native controls too
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:53:50 +00:00
Robin Dunn
e6cac2dff4
Reset g_lastMouseEvent after processing the mouse button release event
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:53:09 +00:00
Robin Dunn
25107357ef
Don't capture the mouse until after the possible wxEVT_GRID_CELL_BEGIN_DRAG event.
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:52:23 +00:00
Robin Dunn
b5dc8fdbfd
use ChangeValue instead of SetValue to avoid bogus EVT_TEXT events
...
when just setting the descriptive text.
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:14:42 +00:00
Robin Dunn
4f767c1e8f
Set version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:44 +00:00
Robin Dunn
bbd321ffc2
Added SetToolNormalBitmap and SetToolDisabledBitmap
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:03 +00:00
Robin Dunn
0daf5e6be2
Fill in more details for the wxEVT_STC_AUTOCOMP_SELECTION event
...
(ported from 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:11:45 +00:00
Robin Dunn
7fd3acaf54
Set version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 19:58:27 +00:00
Roman Rolinsky
75aa19469b
Version 1.8-0
...
New feature added from a patch submitted on sourceforge by botg:
moving of tree items.
Bugs fixed:
- ChecklistBox content editing;
- Window styles more in sync with the docs;
- Replacing items;
- Reference property page created correctly (every property is
optional).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 15:40:32 +00:00
Włodzimierz Skiba
750040fabb
Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 12:12:10 +00:00
Włodzimierz Skiba
162f6b2aee
wx/log.h belongs to pch system
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 08:15:05 +00:00
Paul Cornett
d6c11fa975
simplify wxGTK DoSetSizeHints logic, respect size increments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 04:59:29 +00:00
Václav Slavík
ca152e4cf4
added script to generate parts of rsp manifests with samples files and bakefile-generates files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 19:24:55 +00:00
Vadim Zeitlin
ef316e23c9
made (many) more wxGrid methods const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 19:10:09 +00:00
Vadim Zeitlin
b483f5fed2
corrected WXDLLIMPEXP_ declaration for wxEventBlocker: it's part of core, not base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 18:19:32 +00:00
Julian Smart
549cc3a835
Fixes to the previous fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 16:09:54 +00:00
Julian Smart
23ec96e3f5
Avoid triggering false update event when setting the initial range
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:40:55 +00:00
Julian Smart
72e610241a
Restored drag position mysteriously removed in revision 1.233
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:14:46 +00:00
Julian Smart
58e8013e82
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 11:46:52 +00:00
Julian Smart
87eaa6f666
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 08:45:15 +00:00
Julian Smart
5f48b3adcc
Missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 08:16:38 +00:00
Kevin Ollivier
e602dae828
Committing patch #1604462 , which improves autoconf support, adds a wxbase template, allows components to have names which match wx lib naming, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 01:15:02 +00:00
Stefan Csomor
74fa325376
using scroll axis for mousewheel events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:37:26 +00:00
Stefan Csomor
6682e732a6
using scroll axis in translation to scrollwin events, avoiding blocking immediate updates when handling the scroll event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:26:02 +00:00
Stefan Csomor
aea37008b7
adding scroll axis to wheel events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:24:28 +00:00
Vadim Zeitlin
b2ddcd05fc
our build also depends on bc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:35:31 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
28f15a1f70
add accessors using wxFileName to wxFile/DirPickerCtrl (patch 1622534)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:22:47 +00:00
Vadim Zeitlin
c4fa5aa7b0
added wxEventBlocker class (patch 1622444)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:12:50 +00:00
Vadim Zeitlin
08291defc2
updated comments after latest commit (Tim Kosse)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-03 15:56:44 +00:00
Vadim Zeitlin
207ddcc988
fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAvailable() before using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-03 12:01:42 +00:00
Vadim Zeitlin
006b7af2b2
use wxFSVolume instead of duplicating its functionality in the (MSW branch of) wxGetAvailableDrives() (patch 1615074)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:59:00 +00:00
Vadim Zeitlin
ab63e6ae49
don't show an error if SHGetFileInfo(SHGFI_ATTRIBUTES) fails as it does all the time with network drives
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:55:40 +00:00
Vadim Zeitlin
0bdd807424
fix assert when the control doesn't have a valid date initially (bug 1648192)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:41:54 +00:00
Vadim Zeitlin
535920ff93
don't wait for Windows messages in WaitForThread() if we don't dispatch events (should fix the bugs 1523302 and 1650795)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:12:34 +00:00
Vadim Zeitlin
e570a44b37
don't wake up on Windows messages when waiting for thread termination in a console application as this results in an infinite loop because we never process them and thus they remain in the queue for always (modified patch 1615875; closes bugs 877128)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 22:46:48 +00:00
Vadim Zeitlin
ac6e0eb154
added support for underlined fonts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 01:27:44 +00:00
Vadim Zeitlin
15c6269f89
document wxNewId() as being deprecated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:26:28 +00:00
Vadim Zeitlin
f77bbb455f
document Next/PrevControlId
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:22:56 +00:00
Vadim Zeitlin
a34ef99baa
use wxObject copy ctor, not default ctor, in wxEvent copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:07:52 +00:00
Julian Smart
0d3abce0d8
COrrected style doc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 14:27:31 +00:00
Vadim Zeitlin
a56a1234a5
removed wxABI_TESTS, they're irrelvant in 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:40:59 +00:00
Vadim Zeitlin
ccee328e0b
Added wxSizerFlags::Top() and Bottom()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:26:31 +00:00
Vadim Zeitlin
5ec9d741e0
removed 2.6 incompatibilities section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:24:02 +00:00
Julian Smart
f262b25c93
Added extra hit test style for more accurate reporting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-28 16:57:07 +00:00
Stefan Csomor
cb6e26b88e
fix for drawing in the 'grox box' between two scrollbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 21:47:46 +00:00
Stefan Csomor
dedf5d9f66
changing asserts to debug info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 17:36:53 +00:00
Stefan Csomor
b5d59f11f0
separate assert in case the control ref is already null
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 17:22:14 +00:00
Václav Slavík
9c26fe83eb
fixes to InputPath values in custom build steps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 12:41:04 +00:00
Václav Slavík
655c20fcd5
don't assume there's always an active wxEventLoop instance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 17:33:09 +00:00
Vadim Zeitlin
66c72081f7
changing text alignment dynamically doesn't always work under XP, recreate the control there too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 15:36:31 +00:00
Vadim Zeitlin
8299991033
document that the parent window gets EVT_LEAVE_WINDOW when the mouse enters one of its children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 22:32:44 +00:00
Vadim Zeitlin
bc94d944d0
use LLONG_MIN instead of -1 (which is a valid time value corresponding to 1ms before Epoch) for the invalid wxDateTime m_time value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 17:37:54 +00:00
Václav Slavík
23205be83c
compiled fixes for builds without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 13:42:46 +00:00
Jouk Jansen
bb8bd6ef8a
Committing in .
...
adding #include <sys/socket.h> for OpenVMS.
mayby some other platforms need this include
Modified Files:
wxWidgets/include/wx/private/socketevtdispatch.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 07:51:56 +00:00
Chris Elliott
b2fde0cfed
fix SF bug 1640955
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-23 09:25:53 +00:00
Václav Slavík
065761f297
wxDFB doesn't require extra configure options anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 17:43:09 +00:00
Robin Dunn
b17b3870ac
changelog for 2.8.1.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 16:59:11 +00:00
Robin Dunn
2a91055427
regenerated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 16:51:23 +00:00
Václav Slavík
0edbcd6041
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:13:15 +00:00
Václav Slavík
c04c7a3d0a
wxDFB: fix rendering artefacts when scrolling wxScrolledWindow that contains other widgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:10:26 +00:00
Václav Slavík
42b0d8b96d
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:04:49 +00:00
Václav Slavík
c3a58b249e
enable wxFontMapper in wxDFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 14:05:07 +00:00
Václav Slavík
47b6ebde09
allow building wxXRC with wxUSE_HTML=0: make linking work in absence of wxHTML library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 13:07:27 +00:00
Václav Slavík
19fb58e85b
SETUPHDIR is Bakefile variable, not MSVC IDE one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 12:50:58 +00:00
Václav Slavík
33046a8283
fixed wxGetTranslation() prototype in the !wxUSE_INTL case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 12:26:19 +00:00