Compare commits

..

3043 Commits

Author SHA1 Message Date
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
Stefan Neis
a7dde52f0a Improve resetting table via SetTable (extended version of patch #1636377).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 22:39:56 +00:00
Robin Dunn
0d3847e80c reswigged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:07:46 +00:00
Robin Dunn
e86fbab1ba suspend logging while in wx.DataFormat.GetId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:07:07 +00:00
Robin Dunn
1ddcb14574 remove bad property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:05:30 +00:00
Robin Dunn
a0d5472b1b Build and distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:03:55 +00:00
Robin Dunn
6caa0f5cd1 No animate contrib anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:59:10 +00:00
Robin Dunn
5712281c5d Return an empty string from wxDataFormat::GetId if there was an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:58:05 +00:00
Robin Dunn
68585e1770 Add some wxCHECK_MSG's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:53:42 +00:00
Robin Dunn
4aab34290a Return an empty string from GetValue if the textctrl is set to the
descriptive text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:47:33 +00:00
Robin Dunn
f24b783af3 Revert menus and toolbars to using wxNewId() too since their IDs can't
be negative either


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:43:59 +00:00
Paul Cornett
6d727f6c10 expose handlers are supposed to return a gboolean;
false may be correct, at least it's not random


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:58:53 +00:00
Vadim Zeitlin
5f28de16f3 fix infinite recursion when processing navigation keys in panels containing book controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:21:45 +00:00
Vadim Zeitlin
0fdd3cc881 reverted last commit, using result of NewControlId() when creating the control (instead of wxID_ANY) results in an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:01:39 +00:00
Vadim Zeitlin
447325a44f use wxID_ANY for internal controller control instead of wxID_CHOICE/LIST/TOOLBAR/TREEBOOKTREEVIEW; this fixes asserts about using negative ids after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 00:52:05 +00:00
Vadim Zeitlin
3aba082d50 don't crash in dtor if the X11 window hadn't been created (patch 1640153)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:32:18 +00:00
Vadim Zeitlin
fc9f11cc6f name user config file appname.conf when it's locayed in ~/.appname by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:15:57 +00:00
Vadim Zeitlin
869c929083 set command int (indicating whether the item is checked) correctly for the menu events (bug 1639891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:13:52 +00:00
Robin Dunn
9030e77918 wx.FRAME_FLOAT_ON_PARENT notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:28:09 +00:00
Robin Dunn
67879c5b41 Use float-on-parent frames for the popups if wxPopupWindow is not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:26:34 +00:00
Robin Dunn
a0232aa520 Added support for the wxFRAME_FLOAT_ON_PARENT style
Also add a mode for the wxPOPUP_WINDOW style as a temporary hack to
make it easier using a wxFrame as a replacement for wxPopupWindow.
See how it is used in wxStyledTextCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:23:43 +00:00
Václav Slavík
01ad5e43bf fixed typo in code for setting alternative locale name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 23:25:39 +00:00
Robin Dunn
1d51064ce3 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:17:39 +00:00
Robin Dunn
0149e27783 Add a note about wxSearchCtrl::[Get|Set]DescriptiveText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:15:22 +00:00
Robin Dunn
7fa8d0854b some updates to CHANGES.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:13:16 +00:00
Robin Dunn
fd363e1abc Added stepColour utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 19:51:08 +00:00
Julian Smart
df794ecc9f Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 12:36:54 +00:00
Julian Smart
9aaca412e2 Added missing functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 12:17:27 +00:00
Robin Dunn
6646ca90e8 Added wxSearchCtrl::[Get|Set]DescriptiveText
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
b901ac2c3b disabled wxMBConv(wxFONTENCODING_UTF7) test -- it doesn't work under Unix with iconv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 00:19:57 +00:00
Vadim Zeitlin
04af2f5ce3 added wxCONFIG_USE_SUBDIR flag to wxFileConfig (patch 1620876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 22:38:21 +00:00
Paul Cornett
49f29fbe2c revert last, GUI mutex isn't GUI-only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:56:51 +00:00
Robin Dunn
65d7319f85 styles, toolbar, and other visual tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:41 +00:00
Robin Dunn
1fe8ec6d3d Use kControlContentIconRef when recreating the tool for toggled state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:01 +00:00
Vadim Zeitlin
0f0298b10c added wxCSConv::IsOk() (patch 1637944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Vadim Zeitlin
646c7e13ea corrected VC warning about possibly uninitialized variable in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:37:12 +00:00
Vadim Zeitlin
6594faa98e make wxTextFile work with unseekable files again (patch 1632613, bug 1629581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:29:12 +00:00
Vadim Zeitlin
5a2d9e121f reverted last change: wxGTK-specific wxMutextGui code breaks linkage of wxBase programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 19:53:36 +00:00
Robin Dunn
6a6c9417a8 Add GetDateOnly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 19:10:43 +00:00
Václav Slavík
627ddac99e compilation fix for !wxUSE_STATBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:27:58 +00:00
Paul Cornett
165d3652ff use GTK-specific GUI lock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:13:34 +00:00
Vadim Zeitlin
186453cc7c added wx/window.h included needed by last change using wxWindow::NewControlId() (fixed PCH-less builds, bug 1638781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 17:00:52 +00:00
Vadim Zeitlin
9249d38d6e use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with the user-defined ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:15:54 +00:00
Vadim Zeitlin
fb96cf856e added wxDateTime::GetDateOnly()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
75d0223f8c corrected crash: need to set m_frame eariler (Wlodek Szafran, closes bug 1636225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:03:16 +00:00
Robin Dunn
8030e0e954 minor tweaks for the widget inspector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:39:00 +00:00
Robin Dunn
27587c251c The inspect module is now a widget browser plus a shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:37:12 +00:00
Robin Dunn
b08d67c27b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:32:26 +00:00
Vadim Zeitlin
5541976c17 discard time part of m_date, otherwise comparisons with other dates fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:31:05 +00:00
Robin Dunn
7d69a5715e Make GridBagSizer.GetItem use FindItem if possible, to allow a
GBSizerItem to be returned instead of a SizerItem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:23:34 +00:00
Robin Dunn
61071e6160 some minor tweaks to make it possible to not show the default intro text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:05:14 +00:00
Robin Dunn
3e47020738 Use the system settings for the selection colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:03:46 +00:00
Julian Smart
2207fd2168 Spacing corrections, removed duplicate functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 15:26:53 +00:00
Julian Smart
df0468c73a Corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 14:51:11 +00:00
Julian Smart
652dbdc0ab Documented Set/GetBaseId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 09:07:32 +00:00
Václav Slavík
81073d9209 SETUPHDIR is Bakefile variable, not MSVC IDE one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 08:40:56 +00:00
Vadim Zeitlin
c25db58432 honour the drag effect supported by the drag source in wxIDropTarget (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 19:02:29 +00:00
Vadim Zeitlin
4d1f840337 added wx/image.h to fix non-PCH compilation after last commit (patch 1635649)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 10:54:40 +00:00
Paul Cornett
a1b289f1f9 don't change wxPRINTER_CANCELLED to wxPRINTER_ERROR, bug #1635284
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 02:23:13 +00:00
Paul Cornett
09a0945522 remove some unneeded includes, clean up gnome force link stuff a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 01:26:05 +00:00
Paul Cornett
3f83a9cda3 only gtk1 needs poll now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 00:24:54 +00:00
Paul Cornett
3b5d20079c chain to the polling function GLib was using before we replaced it, eliminating all the poll baggage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 00:21:57 +00:00
Vadim Zeitlin
b8508db8b4 create in place edit control with wxTE_PROCESS_ENTER style as otherwise it's not closed on Enter when used inside a panel or a dialog (which uses Enter for dialog navigation) (patch 1630586)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 21:04:27 +00:00
Vadim Zeitlin
0d3997fd6d corrected drawing of the bitmaps for the disabled menu items (replaces patch 1632891, closes bug 1632888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:59:17 +00:00
Vadim Zeitlin
cfbf301d7c test rendering of disabled items with bitmaps (for bug 1632888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:45:30 +00:00
Vadim Zeitlin
d95527de9a added wxSizerFlags::Shaped() and FixedMinSize() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:52:55 +00:00
Vadim Zeitlin
fc2b0e31bb added wxABI_VERSION check around new public wxFileHistory::Set/GetBaseId() methods and added them to version script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:38:53 +00:00
Vadim Zeitlin
4f690a1d5e don't crash when setting tooltip for a picker without text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:18:36 +00:00
Julian Smart
5d389b0445 Provide access to file history base id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 12:43:01 +00:00
Václav Slavík
6a6e282245 fixed child windows scrolling to use wxSIZE_ALLOW_MINUS_ONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 21:46:51 +00:00
Robin Dunn
302129f896 PyCrust now has an option for showing/hiding the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 19:20:32 +00:00
Robin Dunn
19a885344a minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:42:56 +00:00
Robin Dunn
46831f391b Bug fix from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:51 +00:00
Robin Dunn
cfce9d35ad Just reset the size, not the minsize too, when changing the label or
font.  This is how the native static text widgets behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:30 +00:00
Robin Dunn
f1c5e92f3f new test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:39:39 +00:00
Robin Dunn
da88bc1a18 removed bogus ImageList property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:39:04 +00:00
Robin Dunn
d576c660f7 Added typeId property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:38:15 +00:00
Robin Dunn
156d7d8626 Use the SearchCtrl for the filter. Make the accelerator table usable
again for testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:28:40 +00:00
Robin Dunn
e49426a206 Fix for problem when Realize is re-called on a vertical toolbar, it
was making the tools layout horizontally.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:27:27 +00:00
Robin Dunn
7749035c4e DoGetBestSize fix, the lbWidth was not getting updated because of a
misplaced #endif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:25:21 +00:00
Robin Dunn
f241631e6d Fix for when only a default dir is given without a default file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:24:19 +00:00
Stefan Csomor
4b6930c813 making sure it is only breaking at newlines for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:00:01 +00:00
Paul Cornett
8d206c073d add wxToolbook checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:54:14 +00:00
Stefan Csomor
5a253c3f0a using the CF Message box only for non main thread alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:22:02 +00:00
Vadim Zeitlin
a8b2285edf only set cursor immediately in SetCursor() if the mouse is currently inside the window or we capture it (fixes the problem introduced in rev 1.675 while still correcting the original bug that change was done to fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 01:28:14 +00:00
Vadim Zeitlin
21de14b331 use wxNO_LEN and wxCONV_FAILED symbolic constants instead of -1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 16:41:43 +00:00
Julian Smart
e7b21b01fe Use the associated document manager, not the global one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:55:26 +00:00
Julian Smart
3d490242f0 Write a newline, not a 10 into the stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:54:29 +00:00
Vadim Zeitlin
d40e9e06bb no changes, just refactor the code sending spin update event to SendSpinUpdate() instead of duplicating it; also initialize m_oldValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:59:42 +00:00
Vadim Zeitlin
b6d8301814 apply patch 1630906 after all as with my simpler fix in the last commit the control may remain empty when it is supposed to show 0 value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:48:52 +00:00
Vadim Zeitlin
e816f5c736 fix lack of spin control update event when control lost focus (replaces patch 1630906, corrects bug introduced in rev 1.66)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:45:31 +00:00
Vadim Zeitlin
be809e82f2 suppress spurious error message when copying from clipboard brought empty string (patch 1630108)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:34:08 +00:00
Vadim Zeitlin
9c80e160ec reverted wrong change of rev 1.129 and fixed the first part of bug 1422217 in a better way by using InsertMenuItem() correctly for checkable items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:21:42 +00:00
Vadim Zeitlin
02f0eca5fb do strtoll() test using C++ compiler as at least under SGI this function is accessible from C99 but not C++ code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 00:30:13 +00:00
Václav Slavík
c640dfa5e8 added wxDFB to distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 15:01:42 +00:00
Julian Smart
d716e45315 Removed versions so we don't have to update with every release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:53:57 +00:00
Julian Smart
9d5bd96c58 Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:52:35 +00:00
Julian Smart
3273f8342e Updated version and date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:51:18 +00:00
Václav Slavík
1ff18f49b9 added support for Bakefile's upcoming msvs2005prj format (not enabled by default yet, would fail with the latest released version otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:03:23 +00:00
Vadim Zeitlin
8ef74b15f7 add #if wxUSE_TOOLTIPS around DoSetToolTip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:45:11 +00:00
Chris Elliott
3b849b9a88 2.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:40:28 +00:00
Chris Elliott
b432b50d61 fix missing setup.h file(s) http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:96442:cbnogdligcfeekgnnppi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:38:17 +00:00
Julian Smart
715ce94da9 IsRich should be defined even if wxUSE_RICHTEXT isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:26:53 +00:00
Julian Smart
3633deedb4 Fix for missing separator if any previous items were ownerdrawn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:19:09 +00:00
Vadim Zeitlin
a3c8c017cf check parameters after options check sothat usign -version doesn't result in an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:35:06 +00:00
Vadim Zeitlin
fb66c150a4 show -version in the list of options; exit after showing the version as all the other programs do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:29:38 +00:00
Vadim Zeitlin
63dd461bc8 more about virtual functions access specifier changing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:01:08 +00:00
7006 changed files with 455245 additions and 2514894 deletions

View File

@@ -1,12 +0,0 @@
.gdb_history
config.cache
configarg.cache
config.status
wx-config
config.log
stamp-h.in
Makefile
setup.h
*tags
.DS_Store
autom4te.cache

View File

@@ -1,262 +0,0 @@
------------------------------------------------------------------------
How to build the sources from CVS
------------------------------------------------------------------------
Please use the install.txt files in docs/gtk, docs/msw, docs/motif, docs/mac
etc. alongside these instructions.
I) Windows using plain makefiles
----------------------------------------
a) If using Microsoft Visual C++ 5.0 or 6.0
Ensure that the command-line compiler and tools (including
nmake) are installed and ready to run. Depending on your
installation there may be a batch file (commonly named VCVARS32.BAT)
that needs to be run to set correct environment variables and PATH entries.
Continue with item c) below.
b) If using the MinGW or Cygwin compilers
You can get MinGW from http://www.mingw.org/
Cygwin is available at http://www.cygwin.com/
If you are using Cygwin or MinGW together with the MSYS environment, you
can build the library using configure (see "Unix ports" and
"Windows using configure" below). You can also
build wxWidgets without configure using native makefile, but only with
MinGW. Using Cygwin together with Windows makefile is no longer supported.
If building with MinGW without configure:
-> Set your path so that it includes the directory
where your compiler and tools reside
-> Make sure you have GNU Make installed. It must be Windows native version.
Download it from http://www.mingw.org, the executable will be called
mingw32-make.exe.
-> Modern version of MinGW is required; preferably MinGW 2.0 (with gcc3),
but MinGW with gcc-2.95.3 will suffice. If you are using 2.95, you will
have to change variable GCC_VERSION in config.gcc (see msw/install.txt
for details).
If using configure, Unix instructions apply.
c) Build instructions
Assumming that you installed the wxWidgets sources
into c:\wxWidgets:
-> Copy c:\wxWidgets\include\wx\msw\setup0.h
to c:\wxWidgets\include\wx\msw\setup.h
-> Edit c:\wxWidgets\include\wx\msw\setup.h to choose
the features you would like to compile wxWidgets with[out].
and std iostreams are disabled with
#define wxUSE_STD_IOSTREAM 0
-> type: cd c:\wxWidgets\build\msw
-> type: make -f makefile.gcc (if using GNU tools)
or type: nmake -f makefile.vc (if using MS VC++)
etc.
See also docs/msw/install.txt for additional compilation options.
d) Borland (including free command line tools)
Download tools from http://www.borland.com/downloads/
See docs/msw/install.txt for details; in brief:
-> type cd c:\wxWidgets\build\msw
-> type make -f makefile.bcc
You can customize many things in the build process, detailed description is
in docs/msw/install.txt.
II) Unix ports
--------------
Building wxGTK or wxMotif completely without configure
won't ever work, but there is now a new makefile system
that works without libtool and automake, using only
configure to create what is needed.
In order to create configure, you need to have the
GNU autoconf package (version > 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf). Note that you usually don't
need to do this because configure is included in CVS.
Set WXWIN environment variable to the base directory such
as ~/wxWidgets (this is actually not really needed).
-> type: export WXWIN=~/wxWidgets
-> type: md mybuild
-> type: cd mybuild
-> type: ../configure --with-motif
or type: ../configure --with-gtk
-> type: make
-> type: su <type root password>
-> type: make install
-> type: ldconfig
-> type: exit
Call configure with --disable-shared to create a static
library. Calling "make uninstall" will remove the installed
library and "make dist" will create a distribution (not
yet complete).
III) Windows using configure
----------------------------------------
wxWidgets can be built on Windows using MSYS (see
http://www.mingw.org/), which is a POSIX build environment
for Windows. With MSYS you can just ./configure && make (see also VII,
Unix->Windows cross-compiling using configure).
Of course, you can also build the library using plain makefiles (see
section I).
IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
----------------------------------------
Refer to the readme.txt and install.txt files in docs/mac to build
wxWidgets under Classic Mac OS using CodeWarrior.
If you are checking out the CVS sources using cvs under Mac OS X and
compiling under Classic Mac OS:
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
CodeWarrior may ignore them. Checking out the CVS sources using cvs
under Mac OS X creates untyped files which can lead to compilation
errors under CodeWarrior which are hard to track down.
- convert the xml files to CodeWarrior binary projects using the supplied
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
V) MacOS X using configure and the Developer Tools
----------------------------------------
You need to have the Developer Tools installed. If this is not the case,
you will need to register at the Apple Developer web site (this is a free
registration) in order to download the Developer Tools installer.
In order to create configure, you need to have the
GNU autoconf package (version >= 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf).
-> type: mkdir macbuild
-> type: cd macbuild
-> type: ../configure --with-mac
or type: ../configure
-> type: make
VI) OS/2
----------------------------------------
No notes.
VII) Unix->Windows cross-compiling using configure
--------------------------------------------------
First you'll need a cross-compiler; linux glibc binaries of MinGW and
Cygwin (both based on egcs) can be found at
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
based on the latest MinGW release can be found at
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
Otherwise you can compile one yourself.
[ A Note about Cygwin and MinGW: the main difference is that Cygwin
binaries are always linked against cygwin.dll. This dll encapsulates most
standard Unix C extensions, which is very handy if you're porting unix
software to windows. However, wxMSW doesn't need this, so MinGW is
preferable if you write portable C(++). ]
You might want to build both Unix and Windows binaries in the same source
tree; to do this make subdirs for each e.g. unix and win32. If you've
already build wxWidgets in the main dir, do a 'make distclean' there,
otherwise configure will get confused. (In any case, read the section 'Unix
using configure' and make sure you're able to build a native wxWidgets
library; cross-compiling errors can be pretty obscure and you'll want to be
sure that your configure setup is basically sound.)
To cross compile the windows library, do
-> cd win32
(or whatever you called it)
Now run configure. There are two ways to do this
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
where --build= should read whatever platform you're building on. Configure
will notice that build and host platforms differ, and automatically prepend
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
The other way to run configure is by specifying the names of the binaries
yourself:
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
../configure --host=i586-mingw32 --with-mingw
(all assuming you're using MinGW)
By default this will compile a DLL, if you want a static library,
specify --disable-shared.
Type
-> make
and wait, wait, wait. Don't leave the room, because the minute you do there
will be a compile error :-)
NB: if you are using a very old compiler you risk to get quite a few warnings
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
where va_arg macro is used. This is due to a bug in (some versions of)
MinGW headers which may be corrected by upgrading your compier,
otherwise you might edit the file
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
(instead of egcs-2.91.57 you may have something different), searching for
the lines
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
#endif
#endif
and adding "|| defined(_WIN32)" to the list of platforms on which
__gnuc_va_list is char *.
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
(or just libwx_msw.a if you opted for a static build).
Now try building the minimal sample:
-> cd samples/minimal
-> make
and run it with wine, for example (or copy to a Windows box)
-> wine minimal.exe
If all is well, do an install; from win32
-> make install
Native and cross-compiled installations can co-exist peacefully
(as long as their widget sets differ), except for wx-config. You might
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
Cross-compiling TODO:
---------------------
- resource compiling must be done manually for now (should/can we link the
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
link it in... you have to supply an object file ]
- static executables are HUGE -- there must be room for improvement.

261
BuildSVN.txt Normal file
View File

@@ -0,0 +1,261 @@
------------------------------------------------------------------------
How to build the sources from SVN
------------------------------------------------------------------------
Please use the install.txt files in docs/gtk, docs/msw, docs/motif, docs/mac
etc. alongside these instructions.
I) Windows using plain makefiles
----------------------------------------
a) If using Microsoft Visual C++ 5.0 or 6.0
Ensure that the command-line compiler and tools (including
nmake) are installed and ready to run. Depending on your
installation there may be a batch file (commonly named VCVARS32.BAT)
that needs to be run to set correct environment variables and PATH entries.
Continue with item c) below.
b) If using the MinGW or Cygwin compilers
You can get MinGW from http://www.mingw.org/
Cygwin is available at http://www.cygwin.com/
If you are using Cygwin or MinGW together with the MSYS environment, you
can build the library using configure (see "Unix ports" and
"Windows using configure" below). You can also
build wxWidgets without configure using native makefile, but only with
MinGW. Using Cygwin together with Windows makefile is no longer supported.
If building with MinGW without configure:
-> Set your path so that it includes the directory
where your compiler and tools reside
-> Make sure you have GNU Make installed. It must be Windows native version.
Download it from http://www.mingw.org, the executable will be called
mingw32-make.exe.
-> Modern version of MinGW is required; preferably MinGW 2.0 (with gcc3),
but MinGW with gcc-2.95.3 will suffice. If you are using 2.95, you will
have to change variable GCC_VERSION in config.gcc (see msw/install.txt
for details).
If using configure, Unix instructions apply.
c) Build instructions
Assuming that you installed the wxWidgets sources into c:\wxWidgets:
-> Copy c:\wxWidgets\include\wx\msw\setup0.h
to c:\wxWidgets\include\wx\msw\setup.h
-> Edit c:\wxWidgets\include\wx\msw\setup.h to choose
the features you would like to compile wxWidgets with[out].
and std iostreams are disabled with
#define wxUSE_STD_IOSTREAM 0
-> type: cd c:\wxWidgets\build\msw
-> type: make -f makefile.gcc (if using GNU tools)
or type: nmake -f makefile.vc (if using MS VC++)
etc.
See also docs/msw/install.txt for additional compilation options.
d) Borland (including free command line tools)
Download tools from http://www.borland.com/downloads/
See docs/msw/install.txt for details; in brief:
-> type cd c:\wxWidgets\build\msw
-> type make -f makefile.bcc
You can customize many things in the build process, detailed description is
in docs/msw/install.txt.
II) Unix ports
--------------
Building wxGTK or wxMotif completely without configure
won't ever work, but there is now a new makefile system
that works without libtool and automake, using only
configure to create what is needed.
In order to create configure, you need to have the
GNU autoconf package (version > 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf). Note that you usually don't
need to do this because configure is included in SVN.
Set WXWIN environment variable to the base directory such
as ~/wxWidgets (this is actually not really needed).
-> type: export WXWIN=~/wxWidgets
-> type: md mybuild
-> type: cd mybuild
-> type: ../configure --with-motif
or type: ../configure --with-gtk
-> type: make
-> type: su <type root password>
-> type: make install
-> type: ldconfig
-> type: exit
Call configure with --disable-shared to create a static
library. Calling "make uninstall" will remove the installed
library and "make dist" will create a distribution (not
yet complete).
III) Windows using configure
----------------------------------------
wxWidgets can be built on Windows using MSYS (see
http://www.mingw.org/), which is a POSIX build environment
for Windows. With MSYS you can just ./configure && make (see also VII,
Unix->Windows cross-compiling using configure).
Of course, you can also build the library using plain makefiles (see
section I).
IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
----------------------------------------
Refer to the readme.txt and install.txt files in docs/mac to build
wxWidgets under Classic Mac OS using CodeWarrior.
If you are checking out the SVN sources using svn under Mac OS X and
compiling under Classic Mac OS:
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
CodeWarrior may ignore them. Checking out the SVN sources using svn
under Mac OS X creates untyped files which can lead to compilation
errors under CodeWarrior which are hard to track down.
- convert the xml files to CodeWarrior binary projects using the supplied
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
V) MacOS X using configure and the Developer Tools
----------------------------------------
You need to have the Developer Tools installed. If this is not the case,
you will need to register at the Apple Developer web site (this is a free
registration) in order to download the Developer Tools installer.
In order to create configure, you need to have the
GNU autoconf package (version >= 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf).
-> type: mkdir macbuild
-> type: cd macbuild
-> type: ../configure --with-mac
or type: ../configure
-> type: make
VI) OS/2
----------------------------------------
No notes.
VII) Unix->Windows cross-compiling using configure
--------------------------------------------------
First you'll need a cross-compiler; linux glibc binaries of MinGW and
Cygwin (both based on egcs) can be found at
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
based on the latest MinGW release can be found at
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
Otherwise you can compile one yourself.
[ A Note about Cygwin and MinGW: the main difference is that Cygwin
binaries are always linked against cygwin.dll. This dll encapsulates most
standard Unix C extensions, which is very handy if you're porting unix
software to windows. However, wxMSW doesn't need this, so MinGW is
preferable if you write portable C(++). ]
You might want to build both Unix and Windows binaries in the same source
tree; to do this make subdirs for each e.g. unix and win32. If you've
already build wxWidgets in the main dir, do a 'make distclean' there,
otherwise configure will get confused. (In any case, read the section 'Unix
using configure' and make sure you're able to build a native wxWidgets
library; cross-compiling errors can be pretty obscure and you'll want to be
sure that your configure setup is basically sound.)
To cross compile the windows library, do
-> cd win32
(or whatever you called it)
Now run configure. There are two ways to do this
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
where --build= should read whatever platform you're building on. Configure
will notice that build and host platforms differ, and automatically prepend
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
The other way to run configure is by specifying the names of the binaries
yourself:
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
../configure --host=i586-mingw32 --with-mingw
(all assuming you're using MinGW)
By default this will compile a DLL, if you want a static library,
specify --disable-shared.
Type
-> make
and wait, wait, wait. Don't leave the room, because the minute you do there
will be a compile error :-)
NB: if you are using a very old compiler you risk to get quite a few warnings
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
where va_arg macro is used. This is due to a bug in (some versions of)
MinGW headers which may be corrected by upgrading your compier,
otherwise you might edit the file
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
(instead of egcs-2.91.57 you may have something different), searching for
the lines
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
#endif
#endif
and adding "|| defined(_WIN32)" to the list of platforms on which
__gnuc_va_list is char *.
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
(or just libwx_msw.a if you opted for a static build).
Now try building the minimal sample:
-> cd samples/minimal
-> make
and run it with wine, for example (or copy to a Windows box)
-> wine minimal.exe
If all is well, do an install; from win32
-> make install
Native and cross-compiled installations can co-exist peacefully
(as long as their widget sets differ), except for wx-config. You might
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
Cross-compiling TODO:
---------------------
- resource compiling must be done manually for now (should/can we link the
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
link it in... you have to supply an object file ]
- static executables are HUGE -- there must be room for improvement.

File diff suppressed because it is too large Load Diff

View File

@@ -132,7 +132,7 @@ AC_DEFUN([WX_CPP_NEW_HEADERS],
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(iostream)
AC_CHECK_HEADERS([iostream],,, [ ])
if test "$ac_cv_header_iostream" = "yes" ; then
ifelse([$1], , :, [$1])
@@ -284,7 +284,7 @@ AC_DEFUN([WX_CHECK_FUNCS],
if eval test \$wx_cv_func_$wx_func = yes
then
AC_DEFINE_UNQUOTED([HAVE_`echo $wx_func | tr 'a-z' 'A-Z'`])
AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$wx_func])])
$2
else
:
@@ -350,41 +350,50 @@ AC_DEFUN([WX_ARG_CACHE_FLUSH],
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
])
dnl return the name of the variable to store the value of the given
dnl WX_ARG_WITH/ENABLE option
AC_DEFUN([WX_ARG_CACHE_NAME],)
dnl this macro checks for a three-valued command line --with argument:
dnl possible arguments are 'yes', 'no', 'sys', or 'builtin'
dnl usage: WX_ARG_SYS_WITH(option, helpmessage, variable-name)
dnl
dnl the default value (used if the option is not specified at all) is the value
dnl of wxUSE_ALL_FEATURES (which is "yes" by default but can be changed by
dnl giving configure --disable-all-features option)
AC_DEFUN([WX_ARG_SYS_WITH],
[
AC_MSG_CHECKING([for --with-$1])
no_cache=0
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
elif test "$withval" = no; then
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
elif test "$withval" = sys; then
ac_cv_use_$1='$3=sys'
AS_TR_SH(wx_cv_use_$1)='$3=sys'
elif test "$withval" = builtin; then
ac_cv_use_$1='$3=builtin'
AS_TR_SH(wx_cv_use_$1)='$3=builtin'
else
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
fi
cache=yes
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
eval "DEFAULT_$LINE"
cache=yes
else
no_cache=1
cache=no
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$wxUSE_ALL_FEATURES}"
])
eval "$ac_cv_use_$1"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "x$cache" = xyes; then
echo "$3=$$3" >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
@@ -405,81 +414,125 @@ dnl usage: WX_ARG_WITH(option, helpmessage, variable-name, [withstring])
AC_DEFUN([WX_ARG_WITH],
[
withstring=$4
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
if test x"$withstring" = xwithout; then
defaultval=yes
else
defaultval=no
fi
fi
AC_MSG_CHECKING([for --${withstring:-with}-$1])
no_cache=0
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
cache=yes
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
eval "DEFAULT_$LINE"
cache=yes
else
no_cache=1
cache=no
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
])
eval "$ac_cv_use_$1"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "x$cache" = xyes; then
echo "$3=$$3" >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
if test x"$withstring" = xwithout; then
if test $$3 = yes; then
result=no
else
result=yes
fi
else
AC_MSG_RESULT(no)
result=$$3
fi
AC_MSG_RESULT($result)
])
dnl same as WX_ARG_WITH but makes it clear that the option is enabled by default
AC_DEFUN([WX_ARG_WITHOUT], [WX_ARG_WITH($1, [$2], $3, without)])
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
dnl usage: WX_ARG_ENABLE(option, helpmessage, var, [enablestring], [default])
dnl
dnl enablestring is a hack and allows to show "checking for --disable-foo"
dnl message when running configure instead of the default "checking for
dnl --enable-foo" one whih is useful for the options enabled by default
dnl enablestring can be omitted or a literal string "disable" and allows to
dnl show "checking for --disable-foo" message when running configure instead of
dnl the default "checking for --enable-foo" one whih is useful for the options
dnl enabled by default
dnl
dnl the "default" argument can be omitted or contain the default value to use
dnl for the option if it's unspecified
AC_DEFUN([WX_ARG_ENABLE],
[
enablestring=$4
defaultval=$5
if test -z "$defaultval"; then
if test x"$enablestring" = xdisable; then
defaultval=yes
else
defaultval=no
fi
fi
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[
if test "$enableval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
cache=yes
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
eval "DEFAULT_$LINE"
cache=yes
else
no_cache=1
cache=no
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
])
eval "$ac_cv_use_$1"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "x$cache" = xyes; then
echo "$3=$$3" >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
if test x"$enablestring" = xdisable; then
if test $$3 = yes; then
result=no
else
result=yes
fi
else
AC_MSG_RESULT(no)
result=$$3
fi
AC_MSG_RESULT($result)
])
dnl the same as WX_ARG_ENABLE but makes it more clear that the option is
dnl enabled by default
AC_DEFUN([WX_ARG_DISABLE], [WX_ARG_ENABLE($1, [$2], $3, disable)])
dnl same as WX_ARG_ENABLE but defaults to wxUSE_ALL_FEATURES instead of "yes"
AC_DEFUN([WX_ARG_FEATURE], [WX_ARG_ENABLE($1, [$2], $3,, $wxUSE_ALL_FEATURES)])
dnl Like WX_ARG_ENABLE but accepts a parameter.
dnl
@@ -492,31 +545,33 @@ dnl
dnl --enable-foo wxUSE_FOO=yes
dnl --disable-foo wxUSE_FOO=no
dnl --enable-foo=bar wxUSE_FOO=bar
dnl <not given> value from configarg.cache or wxUSE_FOO=no
dnl <not given> value from configarg.cache or
dnl wxUSE_FOO=$DEFAULT_wxUSE_FOO
dnl
AC_DEFUN([WX_ARG_ENABLE_PARAM],
[
enablestring=$4
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[
wx_cv_use_$1="$3='$enableval'"
cache=yes
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
wx_cv_use_$1='$3='$DEFAULT_$3
cache=yes
else
no_cache=1
wx_cv_use_$1="$3=no"
cache=no
fi
wx_cv_use_$1='$3='$DEFAULT_$3
])
eval "$wx_cv_use_$1"
if test "$no_cache" != 1; then
echo $wx_cv_use_$1 >> ${wx_arg_cache_file}.tmp
if test "x$cache" = xyes; then
echo "$3=$$3" >> ${wx_arg_cache_file}.tmp
fi
AC_MSG_RESULT([$$3])

11
aclocal.m4 vendored
View File

@@ -1,7 +1,7 @@
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# generated automatically by aclocal 1.10 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# 2005, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -11,6 +11,10 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_include([build/aclocal/ac_raf_func_which_getservbyname_r.m4])
m4_include([build/aclocal/atomic_builtins.m4])
m4_include([build/aclocal/ax_func_which_gethostbyname_r.m4])
m4_include([build/aclocal/bakefile-dllar.m4])
m4_include([build/aclocal/bakefile-lang.m4])
m4_include([build/aclocal/bakefile.m4])
m4_include([build/aclocal/cppunit.m4])
@@ -18,6 +22,5 @@ m4_include([build/aclocal/gtk-2.0.m4])
m4_include([build/aclocal/gtk.m4])
m4_include([build/aclocal/pkg.m4])
m4_include([build/aclocal/sdl.m4])
m4_include([build/aclocal/ax_func_which_gethostbyname_r.m4])
m4_include([build/aclocal/ac_raf_func_which_getservbyname_r.m4])
m4_include([build/aclocal/visibility.m4])
m4_include([acinclude.m4])

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
wince

View File

@@ -0,0 +1,26 @@
dnl Checks for availability of GCC's atomic operations builtins.
dnl Defines HAVE_GCC_ATOMIC_BUILTINS if available.
AC_DEFUN([WX_ATOMIC_BUILTINS],
[
AC_REQUIRE([AC_PROG_CC])
if test -n "$GCC"; then
AC_MSG_CHECKING([for __sync_fetch_* builtins])
AC_CACHE_VAL(wx_cv_cc_gcc_atomic_builtins, [
AC_TRY_COMPILE(
[],
[
int value=0;
__sync_fetch_and_add(&value, 1);
__sync_sub_and_fetch(&value, 1);
],
wx_cv_cc_gcc_atomic_builtins=yes,
wx_cv_cc_gcc_atomic_builtins=no)
])
AC_MSG_RESULT([$wx_cv_cc_gcc_atomic_builtins])
if test $wx_cv_cc_gcc_atomic_builtins = yes; then
AC_DEFINE([HAVE_GCC_ATOMIC_BUILTINS])
fi
fi
])

View File

@@ -0,0 +1,483 @@
AC_DEFUN([AC_BAKEFILE_CREATE_FILE_DLLAR_SH],
[
dnl ===================== dllar.sh begins here =====================
dnl (Created by merge-scripts.py from dllar.sh
dnl file do not edit here!)
D='$'
cat <<EOF >dllar.sh
#!/bin/sh
#
# dllar - a tool to build both a .dll and an .a file
# from a set of object (.o) files for EMX/OS2.
#
# Written by Andrew Zabolotny, bit@freya.etu.ru
# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
#
# This script will accept a set of files on the command line.
# All the public symbols from the .o files will be exported into
# a .DEF file, then linker will be run (through gcc) against them to
# build a shared library consisting of all given .o files. All libraries
# (.a) will be first decompressed into component .o files then act as
# described above. You can optionally give a description (-d "description")
# which will be put into .DLL. To see the list of accepted options (as well
# as command-line format) simply run this program without options. The .DLL
# is built to be imported by name (there is no guarantee that new versions
# of the library you build will have same ordinals for same symbols).
#
# dllar is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# dllar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dllar; see the file COPYING. If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# To successfuly run this program you will need:
# - Current drive should have LFN support (HPFS, ext2, network, etc)
# (Sometimes dllar generates filenames which won't fit 8.3 scheme)
# - gcc
# (used to build the .dll)
# - emxexp
# (used to create .def file from .o files)
# - emximp
# (used to create .a file from .def file)
# - GNU text utilites (cat, sort, uniq)
# used to process emxexp output
# - GNU file utilities (mv, rm)
# - GNU sed
# - lxlite (optional, see flag below)
# (used for general .dll cleanup)
#
flag_USE_LXLITE=1;
#
# helper functions
# basnam, variant of basename, which does _not_ remove the path, _iff_
# second argument (suffix to remove) is given
basnam(){
case ${D}# in
1)
echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
;;
2)
echo ${D}1 | sed 's/'${D}2'${D}//'
;;
*)
echo "error in basnam ${D}*"
exit 8
;;
esac
}
# Cleanup temporary files and output
CleanUp() {
cd ${D}curDir
for i in ${D}inputFiles ; do
case ${D}i in
*!)
rm -rf \`basnam ${D}i !\`
;;
*)
;;
esac
done
# Kill result in case of failure as there is just to many stupid make/nmake
# things out there which doesn't do this.
if @<:@ ${D}# -eq 0 @:>@; then
rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
fi
}
# Print usage and exit script with rc=1.
PrintHelp() {
echo 'Usage: dllar.sh @<:@-o@<:@utput@:>@ output_file@:>@ @<:@-i@<:@mport@:>@ importlib_name@:>@'
echo ' @<:@-name-mangler-script script.sh@:>@'
echo ' @<:@-d@<:@escription@:>@ "dll descrption"@:>@ @<:@-cc "CC"@:>@ @<:@-f@<:@lags@:>@ "CFLAGS"@:>@'
echo ' @<:@-ord@<:@inals@:>@@:>@ -ex@<:@clude@:>@ "symbol(s)"'
echo ' @<:@-libf@<:@lags@:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"@:>@ @<:@-nocrt@<:@dll@:>@@:>@ @<:@-nolxl@<:@ite@:>@@:>@'
echo ' @<:@*.o@:>@ @<:@*.a@:>@'
echo '*> "output_file" should have no extension.'
echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
echo ' The import library name is derived from this and is set to "name".a,'
echo ' unless overridden by -import'
echo '*> "importlib_name" should have no extension.'
echo ' If it has the .o, or .a extension, it is automatically removed.'
echo ' This name is used as the import library name and may be longer and'
echo ' more descriptive than the DLL name which has to follow the old '
echo ' 8.3 convention of FAT.'
echo '*> "script.sh may be given to override the output_file name by a'
echo ' different name. It is mainly useful if the regular make process'
echo ' of some package does not take into account OS/2 restriction of'
echo ' DLL name lengths. It takes the importlib name as input and is'
echo ' supposed to procude a shorter name as output. The script should'
echo ' expect to get importlib_name without extension and should produce'
echo ' a (max.) 8 letter name without extension.'
echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
echo ' These flags will be put at the start of GCC command line.'
echo '*> -ord@<:@inals@:>@ tells dllar to export entries by ordinals. Be careful.'
echo '*> -ex@<:@clude@:>@ defines symbols which will not be exported. You can define'
echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
echo ' If the last character of a symbol is "*", all symbols beginning'
echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
echo '*> -libf@<:@lags@:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
echo '*> -nocrt@<:@dll@:>@ switch will disable linking the library against emx''s'
echo ' C runtime DLLs.'
echo '*> -nolxl@<:@ite@:>@ switch will disable running lxlite on the resulting DLL.'
echo '*> All other switches (for example -L./ or -lmylib) will be passed'
echo ' unchanged to GCC at the end of command line.'
echo '*> If you create a DLL from a library and you do not specify -o,'
echo ' the basename for DLL and import library will be set to library name,'
echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
echo ' library will be renamed into gcc_s.a.'
echo '--------'
echo 'Example:'
echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
CleanUp
exit 1
}
# Execute a command.
# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
# @Uses Whatever CleanUp() uses.
doCommand() {
echo "${D}*"
eval ${D}*
rcCmd=${D}?
if @<:@ ${D}rcCmd -ne 0 @:>@; then
echo "command failed, exit code="${D}rcCmd
CleanUp
exit ${D}rcCmd
fi
}
# main routine
# setup globals
cmdLine=${D}*
outFile=""
outimpFile=""
inputFiles=""
renameScript=""
description=""
CC=gcc.exe
CFLAGS="-s -Zcrtdll"
EXTRA_CFLAGS=""
EXPORT_BY_ORDINALS=0
exclude_symbols=""
library_flags=""
curDir=\`pwd\`
curDirS=curDir
case ${D}curDirS in
*/)
;;
*)
curDirS=${D}{curDirS}"/"
;;
esac
# Parse commandline
libsToLink=0
omfLinking=0
while @<:@ ${D}1 @:>@; do
case ${D}1 in
-ord*)
EXPORT_BY_ORDINALS=1;
;;
-o*)
shift
outFile=${D}1
;;
-i*)
shift
outimpFile=${D}1
;;
-name-mangler-script)
shift
renameScript=${D}1
;;
-d*)
shift
description=${D}1
;;
-f*)
shift
CFLAGS=${D}1
;;
-c*)
shift
CC=${D}1
;;
-h*)
PrintHelp
;;
-ex*)
shift
exclude_symbols=${D}{exclude_symbols}${D}1" "
;;
-libf*)
shift
library_flags=${D}{library_flags}${D}1" "
;;
-nocrt*)
CFLAGS="-s"
;;
-nolxl*)
flag_USE_LXLITE=0
;;
-* | /*)
case ${D}1 in
-L* | -l*)
libsToLink=1
;;
-Zomf)
omfLinking=1
;;
*)
;;
esac
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
;;
*.dll)
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
if @<:@ ${D}omfLinking -eq 1 @:>@; then
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
else
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
fi
;;
*)
found=0;
if @<:@ ${D}libsToLink -ne 0 @:>@; then
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
else
for file in ${D}1 ; do
if @<:@ -f ${D}file @:>@; then
inputFiles="${D}{inputFiles} ${D}file"
found=1
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "ERROR: No file(s) found: "${D}1
exit 8
fi
fi
;;
esac
shift
done # iterate cmdline words
#
if @<:@ -z "${D}inputFiles" @:>@; then
echo "dllar: no input files"
PrintHelp
fi
# Now extract all .o files from .a files
newInputFiles=""
for file in ${D}inputFiles ; do
case ${D}file in
*.a | *.lib)
case ${D}file in
*.a)
suffix=".a"
AR="ar"
;;
*.lib)
suffix=".lib"
AR="emxomfar"
EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
;;
*)
;;
esac
dirname=\`basnam ${D}file ${D}suffix\`"_%"
mkdir ${D}dirname
if @<:@ ${D}? -ne 0 @:>@; then
echo "Failed to create subdirectory ./${D}dirname"
CleanUp
exit 8;
fi
# Append '!' to indicate archive
newInputFiles="${D}newInputFiles ${D}{dirname}!"
doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
cd ${D}curDir
found=0;
for subfile in ${D}dirname/*.o* ; do
if @<:@ -f ${D}subfile @:>@; then
found=1
if @<:@ -s ${D}subfile @:>@; then
# FIXME: This should be: is file size > 32 byte, _not_ > 0!
newInputFiles="${D}newInputFiles ${D}subfile"
fi
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "WARNING: there are no files in archive \\'${D}file\\'"
fi
;;
*)
newInputFiles="${D}{newInputFiles} ${D}file"
;;
esac
done
inputFiles="${D}newInputFiles"
# Output filename(s).
do_backup=0;
if @<:@ -z ${D}outFile @:>@; then
do_backup=1;
set outFile ${D}inputFiles; outFile=${D}2
fi
# If it is an archive, remove the '!' and the '_%' suffixes
case ${D}outFile in
*_%!)
outFile=\`basnam ${D}outFile _%!\`
;;
*)
;;
esac
case ${D}outFile in
*.dll)
outFile=\`basnam ${D}outFile .dll\`
;;
*.DLL)
outFile=\`basnam ${D}outFile .DLL\`
;;
*.o)
outFile=\`basnam ${D}outFile .o\`
;;
*.obj)
outFile=\`basnam ${D}outFile .obj\`
;;
*.a)
outFile=\`basnam ${D}outFile .a\`
;;
*.lib)
outFile=\`basnam ${D}outFile .lib\`
;;
*)
;;
esac
case ${D}outimpFile in
*.a)
outimpFile=\`basnam ${D}outimpFile .a\`
;;
*.lib)
outimpFile=\`basnam ${D}outimpFile .lib\`
;;
*)
;;
esac
if @<:@ -z ${D}outimpFile @:>@; then
outimpFile=${D}outFile
fi
defFile="${D}{outFile}.def"
arcFile="${D}{outimpFile}.a"
arcFile2="${D}{outimpFile}.lib"
#create ${D}dllFile as something matching 8.3 restrictions,
if @<:@ -z ${D}renameScript @:>@ ; then
dllFile="${D}outFile"
else
dllFile=\`${D}renameScript ${D}outimpFile\`
fi
if @<:@ ${D}do_backup -ne 0 @:>@ ; then
if @<:@ -f ${D}arcFile @:>@ ; then
doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
fi
if @<:@ -f ${D}arcFile2 @:>@ ; then
doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
fi
fi
# Extract public symbols from all the object files.
tmpdefFile=${D}{defFile}_%
rm -f ${D}tmpdefFile
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
;;
esac
done
# Create the def file.
rm -f ${D}defFile
echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
dllFile="${D}{dllFile}.dll"
if @<:@ ! -z ${D}description @:>@; then
echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
fi
echo "EXPORTS" >> ${D}defFile
doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
# Checks if the export is ok or not.
for word in ${D}exclude_symbols; do
grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
mv ${D}{tmpdefFile}% ${D}tmpdefFile
done
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
sed "=" < ${D}tmpdefFile | \\
sed '
N
: loop
s/^\\(@<:@0-9@:>@\\+\\)\\(@<:@^;@:>@*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
t loop
' > ${D}{tmpdefFile}%
grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
else
rm -f ${D}{tmpdefFile}%
fi
cat ${D}tmpdefFile >> ${D}defFile
rm -f ${D}tmpdefFile
# Do linking, create implib, and apply lxlite.
gccCmdl="";
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
gccCmdl="${D}gccCmdl ${D}file"
;;
esac
done
doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
touch "${D}{outFile}.dll"
doCommand "emximp -o ${D}arcFile ${D}defFile"
if @<:@ ${D}flag_USE_LXLITE -ne 0 @:>@; then
add_flags="";
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
add_flags="-ynd"
fi
doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
fi
doCommand "emxomf -s -l ${D}arcFile"
# Successful exit.
CleanUp 1
exit 0
EOF
dnl ===================== dllar.sh ends here =====================
])

View File

@@ -1,74 +1,36 @@
dnl ---------------------------------------------------------------------------
dnl Compiler detection macros by David Elliott
dnl ---------------------------------------------------------------------------
dnl
dnl This file is part of Bakefile (http://www.bakefile.org)
dnl
dnl Copyright (C) 2003-2007 Vaclav Slavik, David Elliott and others
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the "Software"),
dnl to deal in the Software without restriction, including without limitation
dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
dnl and/or sell copies of the Software, and to permit persons to whom the
dnl Software is furnished to do so, subject to the following conditions:
dnl
dnl The above copyright notice and this permission notice shall be included in
dnl all copies or substantial portions of the Software.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dnl DEALINGS IN THE SOFTWARE.
dnl
dnl $Id$
dnl
dnl Compiler detection macros by David Elliott and Vadim Zeitlin
dnl
dnl ===========================================================================
dnl Macros to detect non-GNU compilers (MetroWerks, XLC)
dnl Macros to detect different C/C++ compilers
dnl ===========================================================================
dnl Based on autoconf _AC_LANG_COMPILER_GNU
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_MWERKS],
[AC_CACHE_CHECK([whether we are using the Metrowerks _AC_LANG compiler],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks],
[AC_TRY_COMPILE([],[#ifndef __MWERKS__
choke me
#endif
],
[bakefile_compiler_mwerks=yes],
[bakefile_compiler_mwerks=no])
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks=$bakefile_compiler_mwerks
])
])
dnl Loosely based on autoconf AC_PROG_CC
dnl TODO: Maybe this should wrap the call to AC_PROG_CC and be used instead.
AC_DEFUN([AC_BAKEFILE_PROG_MWCC],
[AC_LANG_PUSH(C)
_AC_BAKEFILE_LANG_COMPILER_MWERKS
MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
AC_LANG_POP(C)
])
dnl Loosely based on autoconf AC_PROG_CXX
dnl TODO: Maybe this should wrap the call to AC_PROG_CXX and be used instead.
AC_DEFUN([AC_BAKEFILE_PROG_MWCXX],
[AC_LANG_PUSH(C++)
_AC_BAKEFILE_LANG_COMPILER_MWERKS
MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
AC_LANG_POP(C++)
])
dnl Based on autoconf _AC_LANG_COMPILER_GNU
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_XLC],
[AC_CACHE_CHECK([whether we are using the IBM xlC _AC_LANG compiler],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc],
[AC_TRY_COMPILE([],[#ifndef __xlC__
choke me
#endif
],
[bakefile_compiler_xlc=yes],
[bakefile_compiler_xlc=no])
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc=$bakefile_compiler_xlc
])
])
dnl Loosely based on autoconf AC_PROG_CC
AC_DEFUN([AC_BAKEFILE_PROG_XLCC],
[AC_LANG_PUSH(C)
_AC_BAKEFILE_LANG_COMPILER_XLC
XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
AC_LANG_POP(C)
])
dnl Loosely based on autoconf AC_PROG_CXX
AC_DEFUN([AC_BAKEFILE_PROG_XLCXX],
[AC_LANG_PUSH(C++)
_AC_BAKEFILE_LANG_COMPILER_XLC
XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
AC_LANG_POP(C++)
])
dnl Based on autoconf _AC_LANG_COMPILER_GNU
dnl _AC_BAKEFILE_LANG_COMPILER(NAME, LANG, SYMBOL, IF-YES, IF-NO)
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
@@ -97,6 +59,28 @@ AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
AC_LANG_POP($2)
])
dnl CodeWarrior Metrowerks compiler defines __MWERKS__ for both C and C++
AC_DEFUN([AC_BAKEFILE_PROG_MWCC],
[
_AC_BAKEFILE_LANG_COMPILER(Metrowerks, C, __MWERKS__, MWCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_MWCXX],
[
_AC_BAKEFILE_LANG_COMPILER(Metrowerks, C++, __MWERKS__, MWCXX=yes)
])
dnl IBM xlC compiler defines __xlC__ for both C and C++
AC_DEFUN([AC_BAKEFILE_PROG_XLCC],
[
_AC_BAKEFILE_LANG_COMPILER([IBM xlC], C, __xlC__, XLCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_XLCXX],
[
_AC_BAKEFILE_LANG_COMPILER([IBM xlC], C++, __xlC__, XLCXX=yes)
])
dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION
dnl
dnl NB: old versions define _COMPILER_VERSION but this could probably be
@@ -204,7 +188,12 @@ dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
[
AC_PROG_$1
dnl Intel compiler can be used under several different OS and even
dnl different architectures (x86, amd64 and Itanium) so it's easier to just
dnl always test for it
AC_BAKEFILE_PROG_INTEL$1
dnl if we're using gcc, we can't be using any of incompatible compilers
if test "x$G$1" != "xyes"; then
if test "x$1" = "xC"; then
@@ -231,6 +220,11 @@ AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
AC_BAKEFILE_PROG_SGI$1
;;
Linux*)
dnl Sun CC is now available under Linux too
AC_BAKEFILE_PROG_SUN$1
;;
HP-UX*)
AC_BAKEFILE_PROG_HP$1
;;

View File

@@ -1,9 +1,36 @@
dnl ---------------------------------------------------------------------------
dnl Support macros for makefiles generated by BAKEFILE.
dnl ---------------------------------------------------------------------------
dnl
dnl This file is part of Bakefile (http://bakefile.sourceforge.net)
dnl
dnl Copyright (C) 2003-2007 Vaclav Slavik and others
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the "Software"),
dnl to deal in the Software without restriction, including without limitation
dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
dnl and/or sell copies of the Software, and to permit persons to whom the
dnl Software is furnished to do so, subject to the following conditions:
dnl
dnl The above copyright notice and this permission notice shall be included in
dnl all copies or substantial portions of the Software.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dnl DEALINGS IN THE SOFTWARE.
dnl
dnl $Id$
dnl
dnl Support macros for makefiles generated by BAKEFILE.
dnl
dnl ---------------------------------------------------------------------------
dnl Lots of compiler & linker detection code contained here was taken from
dnl wxWindows configure.in script (see http://www.wxwindows.org)
dnl wxWidgets configure.in script (see http://www.wxwidgets.org)
dnl ---------------------------------------------------------------------------
@@ -51,7 +78,7 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM],
PLATFORM_OS2=0
PLATFORM_BEOS=0
if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
case "${BAKEFILE_HOST}" in
*-*-mingw32* )
PLATFORM_WIN32=1
@@ -65,7 +92,7 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM],
*-*-darwin* )
PLATFORM_MAC=1
PLATFORM_MACOSX=1
;;
;;
*-*-beos* )
PLATFORM_BEOS=1
;;
@@ -99,7 +126,8 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM],
PLATFORM_BEOS=1
;;
* )
AC_MSG_ERROR([Unknown platform: $BAKEFILE_FORCE_PLATFORM])
dnl wxWidgets-specific: allow unknown Unix systems
dnl AC_MSG_ERROR([Unknown platform: $BAKEFILE_FORCE_PLATFORM])
;;
esac
fi
@@ -126,7 +154,7 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM_SPECIFICS],
AC_ARG_ENABLE([omf], AS_HELP_STRING([--enable-omf],
[use OMF object format (OS/2)]),
[bk_os2_use_omf="$enableval"])
case "${BAKEFILE_HOST}" in
*-*-darwin* )
dnl For Unix to MacOS X porting instructions, see:
@@ -153,7 +181,7 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM_SPECIFICS],
OS2_LIBEXT="a"
fi
;;
i*86-*-beos* )
LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
;;
@@ -178,7 +206,7 @@ AC_DEFUN([AC_BAKEFILE_SUFFIXES],
DLLPREFIX_MODULE=""
DLLIMP_SUFFIX=""
dlldir="$libdir"
case "${BAKEFILE_HOST}" in
*-hp-hpux* )
SO_SUFFIX="sl"
@@ -261,7 +289,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD],
dnl the switch for gcc is the same under all platforms
PIC_FLAG="-fPIC"
fi
dnl Defaults for GCC and ELF .so shared libs:
SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
@@ -281,27 +309,17 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD],
;;
*-*-linux* )
if test "x$GCC" != "xyes"; then
AC_CACHE_CHECK([for Intel compiler], bakefile_cv_prog_icc,
[
AC_TRY_COMPILE([],
[
#ifndef __INTEL_COMPILER
This is not ICC
#endif
],
bakefile_cv_prog_icc=yes,
bakefile_cv_prog_icc=no
)
])
if test "$bakefile_cv_prog_icc" = "yes"; then
PIC_FLAG="-KPIC"
fi
if test "$INTELCC" = "yes"; then
PIC_FLAG="-KPIC"
elif test "x$SUNCXX" = "xyes"; then
SHARED_LD_CC="${CC} -G -o"
SHARED_LD_CXX="${CXX} -G -o"
PIC_FLAG="-KPIC"
fi
;;
*-*-solaris2* )
if test "x$GCC" != xyes ; then
if test "x$SUNCXX" = xyes ; then
SHARED_LD_CC="${CC} -G -o"
SHARED_LD_CXX="${CXX} -G -o"
PIC_FLAG="-KPIC"
@@ -431,8 +449,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD],
;;
*)
dnl wxWidgets-specific: allow unknown Unix systems
dnl AC_MSG_ERROR(unknown system type $BAKEFILE_HOST.)
AC_MSG_ERROR(unknown system type $BAKEFILE_HOST.)
esac
if test "x$PIC_FLAG" != "x" ; then
@@ -473,7 +490,11 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
case "${BAKEFILE_HOST}" in
*-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
SONAME_FLAG="-Wl,-soname,"
if test "x$SUNCXX" = "xyes"; then
SONAME_FLAG="-h "
else
SONAME_FLAG="-Wl,-soname,"
fi
USE_SOVERSION=1
USE_SOVERLINUX=1
USE_SOSYMLINKS=1
@@ -520,7 +541,7 @@ AC_DEFUN([AC_BAKEFILE_DEPS],
AS_HELP_STRING([--disable-dependency-tracking],
[don't use dependency tracking even if the compiler can]),
[bk_use_trackdeps="$enableval"])
AC_MSG_CHECKING([for dependency tracking method])
BK_DEPS=""
@@ -596,14 +617,19 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF],
AC_PROG_MAKE_SET
AC_SUBST(MAKE_SET)
if test "x$SUNCXX" = "xyes"; then
dnl Sun C++ compiler requires special way of creating static libs;
dnl see here for more details:
dnl https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1229751&group_id=9863
AR=${AR:-"$CXX"}
AR=$CXX
AROPTIONS="-xar -o"
AC_SUBST(AR)
elif test "x$SGICC" = "xyes"; then
dnl Almost the same as above for SGI mipsPro compiler
AR=$CXX
AROPTIONS="-ar -o"
AC_SUBST(AR)
AROPTIONS=${AROPTIONS:-"-xar -o"}
else
AC_CHECK_TOOL(AR, ar, ar)
AROPTIONS=rcu
@@ -644,12 +670,12 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([AC_BAKEFILE_RES_COMPILERS],
[
case ${BAKEFILE_HOST} in
case ${BAKEFILE_HOST} in
*-*-cygwin* | *-*-mingw32* )
dnl Check for win32 resources compiler:
AC_CHECK_TOOL(WINDRES, windres)
;;
*-*-darwin* | powerpc-apple-macos* )
AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez)
AC_CHECK_PROG(SETFILE, SetFile, SetFile, /Developer/Tools/SetFile)
@@ -680,7 +706,7 @@ AC_DEFUN([AC_BAKEFILE_PRECOMP_HEADERS],
USE_PCH=0
BK_MAKE_PCH=""
case ${BAKEFILE_HOST} in
case ${BAKEFILE_HOST} in
*-*-cygwin* )
dnl PCH support is broken in cygwin gcc because of unportable
dnl assumptions about mmap() in gcc code which make PCH generation
@@ -792,509 +818,25 @@ AC_DEFUN([AC_BAKEFILE],
AC_BAKEFILE_DEPS
AC_BAKEFILE_RES_COMPILERS
BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
dnl includes autoconf_inc.m4:
$1
if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
AC_MSG_ERROR([No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?])
fi
if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
AC_MSG_ERROR([Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match.])
fi
])
dnl ---------------------------------------------------------------------------
dnl Embedded copies of helper scripts follow:
dnl ---------------------------------------------------------------------------
AC_DEFUN([AC_BAKEFILE_CREATE_FILE_DLLAR_SH],
[
dnl ===================== dllar.sh begins here =====================
dnl (Created by merge-scripts.py from dllar.sh
dnl file do not edit here!)
D='$'
cat <<EOF >dllar.sh
#!/bin/sh
#
# dllar - a tool to build both a .dll and an .a file
# from a set of object (.o) files for EMX/OS2.
#
# Written by Andrew Zabolotny, bit@freya.etu.ru
# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
#
# This script will accept a set of files on the command line.
# All the public symbols from the .o files will be exported into
# a .DEF file, then linker will be run (through gcc) against them to
# build a shared library consisting of all given .o files. All libraries
# (.a) will be first decompressed into component .o files then act as
# described above. You can optionally give a description (-d "description")
# which will be put into .DLL. To see the list of accepted options (as well
# as command-line format) simply run this program without options. The .DLL
# is built to be imported by name (there is no guarantee that new versions
# of the library you build will have same ordinals for same symbols).
#
# dllar is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# dllar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dllar; see the file COPYING. If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# To successfuly run this program you will need:
# - Current drive should have LFN support (HPFS, ext2, network, etc)
# (Sometimes dllar generates filenames which won't fit 8.3 scheme)
# - gcc
# (used to build the .dll)
# - emxexp
# (used to create .def file from .o files)
# - emximp
# (used to create .a file from .def file)
# - GNU text utilites (cat, sort, uniq)
# used to process emxexp output
# - GNU file utilities (mv, rm)
# - GNU sed
# - lxlite (optional, see flag below)
# (used for general .dll cleanup)
#
flag_USE_LXLITE=1;
#
# helper functions
# basnam, variant of basename, which does _not_ remove the path, _iff_
# second argument (suffix to remove) is given
basnam(){
case ${D}# in
1)
echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
;;
2)
echo ${D}1 | sed 's/'${D}2'${D}//'
;;
*)
echo "error in basnam ${D}*"
exit 8
;;
esac
}
# Cleanup temporary files and output
CleanUp() {
cd ${D}curDir
for i in ${D}inputFiles ; do
case ${D}i in
*!)
rm -rf \`basnam ${D}i !\`
;;
*)
;;
esac
done
# Kill result in case of failure as there is just to many stupid make/nmake
# things out there which doesn't do this.
if @<:@ ${D}# -eq 0 @:>@; then
rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
fi
}
# Print usage and exit script with rc=1.
PrintHelp() {
echo 'Usage: dllar.sh @<:@-o@<:@utput@:>@ output_file@:>@ @<:@-i@<:@mport@:>@ importlib_name@:>@'
echo ' @<:@-name-mangler-script script.sh@:>@'
echo ' @<:@-d@<:@escription@:>@ "dll descrption"@:>@ @<:@-cc "CC"@:>@ @<:@-f@<:@lags@:>@ "CFLAGS"@:>@'
echo ' @<:@-ord@<:@inals@:>@@:>@ -ex@<:@clude@:>@ "symbol(s)"'
echo ' @<:@-libf@<:@lags@:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"@:>@ @<:@-nocrt@<:@dll@:>@@:>@ @<:@-nolxl@<:@ite@:>@@:>@'
echo ' @<:@*.o@:>@ @<:@*.a@:>@'
echo '*> "output_file" should have no extension.'
echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
echo ' The import library name is derived from this and is set to "name".a,'
echo ' unless overridden by -import'
echo '*> "importlib_name" should have no extension.'
echo ' If it has the .o, or .a extension, it is automatically removed.'
echo ' This name is used as the import library name and may be longer and'
echo ' more descriptive than the DLL name which has to follow the old '
echo ' 8.3 convention of FAT.'
echo '*> "script.sh may be given to override the output_file name by a'
echo ' different name. It is mainly useful if the regular make process'
echo ' of some package does not take into account OS/2 restriction of'
echo ' DLL name lengths. It takes the importlib name as input and is'
echo ' supposed to procude a shorter name as output. The script should'
echo ' expect to get importlib_name without extension and should produce'
echo ' a (max.) 8 letter name without extension.'
echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
echo ' These flags will be put at the start of GCC command line.'
echo '*> -ord@<:@inals@:>@ tells dllar to export entries by ordinals. Be careful.'
echo '*> -ex@<:@clude@:>@ defines symbols which will not be exported. You can define'
echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
echo ' If the last character of a symbol is "*", all symbols beginning'
echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
echo '*> -libf@<:@lags@:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
echo '*> -nocrt@<:@dll@:>@ switch will disable linking the library against emx''s'
echo ' C runtime DLLs.'
echo '*> -nolxl@<:@ite@:>@ switch will disable running lxlite on the resulting DLL.'
echo '*> All other switches (for example -L./ or -lmylib) will be passed'
echo ' unchanged to GCC at the end of command line.'
echo '*> If you create a DLL from a library and you do not specify -o,'
echo ' the basename for DLL and import library will be set to library name,'
echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
echo ' library will be renamed into gcc_s.a.'
echo '--------'
echo 'Example:'
echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
CleanUp
exit 1
}
# Execute a command.
# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
# @Uses Whatever CleanUp() uses.
doCommand() {
echo "${D}*"
eval ${D}*
rcCmd=${D}?
if @<:@ ${D}rcCmd -ne 0 @:>@; then
echo "command failed, exit code="${D}rcCmd
CleanUp
exit ${D}rcCmd
fi
}
# main routine
# setup globals
cmdLine=${D}*
outFile=""
outimpFile=""
inputFiles=""
renameScript=""
description=""
CC=gcc.exe
CFLAGS="-s -Zcrtdll"
EXTRA_CFLAGS=""
EXPORT_BY_ORDINALS=0
exclude_symbols=""
library_flags=""
curDir=\`pwd\`
curDirS=curDir
case ${D}curDirS in
*/)
;;
*)
curDirS=${D}{curDirS}"/"
;;
esac
# Parse commandline
libsToLink=0
omfLinking=0
while @<:@ ${D}1 @:>@; do
case ${D}1 in
-ord*)
EXPORT_BY_ORDINALS=1;
;;
-o*)
shift
outFile=${D}1
;;
-i*)
shift
outimpFile=${D}1
;;
-name-mangler-script)
shift
renameScript=${D}1
;;
-d*)
shift
description=${D}1
;;
-f*)
shift
CFLAGS=${D}1
;;
-c*)
shift
CC=${D}1
;;
-h*)
PrintHelp
;;
-ex*)
shift
exclude_symbols=${D}{exclude_symbols}${D}1" "
;;
-libf*)
shift
library_flags=${D}{library_flags}${D}1" "
;;
-nocrt*)
CFLAGS="-s"
;;
-nolxl*)
flag_USE_LXLITE=0
;;
-* | /*)
case ${D}1 in
-L* | -l*)
libsToLink=1
;;
-Zomf)
omfLinking=1
;;
*)
;;
esac
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
;;
*.dll)
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
if @<:@ ${D}omfLinking -eq 1 @:>@; then
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
else
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
fi
;;
*)
found=0;
if @<:@ ${D}libsToLink -ne 0 @:>@; then
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
else
for file in ${D}1 ; do
if @<:@ -f ${D}file @:>@; then
inputFiles="${D}{inputFiles} ${D}file"
found=1
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "ERROR: No file(s) found: "${D}1
exit 8
fi
fi
;;
esac
shift
done # iterate cmdline words
#
if @<:@ -z "${D}inputFiles" @:>@; then
echo "dllar: no input files"
PrintHelp
fi
# Now extract all .o files from .a files
newInputFiles=""
for file in ${D}inputFiles ; do
case ${D}file in
*.a | *.lib)
case ${D}file in
*.a)
suffix=".a"
AR="ar"
;;
*.lib)
suffix=".lib"
AR="emxomfar"
EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
;;
*)
;;
esac
dirname=\`basnam ${D}file ${D}suffix\`"_%"
mkdir ${D}dirname
if @<:@ ${D}? -ne 0 @:>@; then
echo "Failed to create subdirectory ./${D}dirname"
CleanUp
exit 8;
fi
# Append '!' to indicate archive
newInputFiles="${D}newInputFiles ${D}{dirname}!"
doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
cd ${D}curDir
found=0;
for subfile in ${D}dirname/*.o* ; do
if @<:@ -f ${D}subfile @:>@; then
found=1
if @<:@ -s ${D}subfile @:>@; then
# FIXME: This should be: is file size > 32 byte, _not_ > 0!
newInputFiles="${D}newInputFiles ${D}subfile"
fi
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "WARNING: there are no files in archive \\'${D}file\\'"
fi
;;
*)
newInputFiles="${D}{newInputFiles} ${D}file"
;;
esac
done
inputFiles="${D}newInputFiles"
# Output filename(s).
do_backup=0;
if @<:@ -z ${D}outFile @:>@; then
do_backup=1;
set outFile ${D}inputFiles; outFile=${D}2
fi
# If it is an archive, remove the '!' and the '_%' suffixes
case ${D}outFile in
*_%!)
outFile=\`basnam ${D}outFile _%!\`
;;
*)
;;
esac
case ${D}outFile in
*.dll)
outFile=\`basnam ${D}outFile .dll\`
;;
*.DLL)
outFile=\`basnam ${D}outFile .DLL\`
;;
*.o)
outFile=\`basnam ${D}outFile .o\`
;;
*.obj)
outFile=\`basnam ${D}outFile .obj\`
;;
*.a)
outFile=\`basnam ${D}outFile .a\`
;;
*.lib)
outFile=\`basnam ${D}outFile .lib\`
;;
*)
;;
esac
case ${D}outimpFile in
*.a)
outimpFile=\`basnam ${D}outimpFile .a\`
;;
*.lib)
outimpFile=\`basnam ${D}outimpFile .lib\`
;;
*)
;;
esac
if @<:@ -z ${D}outimpFile @:>@; then
outimpFile=${D}outFile
fi
defFile="${D}{outFile}.def"
arcFile="${D}{outimpFile}.a"
arcFile2="${D}{outimpFile}.lib"
#create ${D}dllFile as something matching 8.3 restrictions,
if @<:@ -z ${D}renameScript @:>@ ; then
dllFile="${D}outFile"
else
dllFile=\`${D}renameScript ${D}outimpFile\`
fi
if @<:@ ${D}do_backup -ne 0 @:>@ ; then
if @<:@ -f ${D}arcFile @:>@ ; then
doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
fi
if @<:@ -f ${D}arcFile2 @:>@ ; then
doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
fi
fi
# Extract public symbols from all the object files.
tmpdefFile=${D}{defFile}_%
rm -f ${D}tmpdefFile
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
;;
esac
done
# Create the def file.
rm -f ${D}defFile
echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
dllFile="${D}{dllFile}.dll"
if @<:@ ! -z ${D}description @:>@; then
echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
fi
echo "EXPORTS" >> ${D}defFile
doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
# Checks if the export is ok or not.
for word in ${D}exclude_symbols; do
grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
mv ${D}{tmpdefFile}% ${D}tmpdefFile
done
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
sed "=" < ${D}tmpdefFile | \\
sed '
N
: loop
s/^\\(@<:@0-9@:>@\\+\\)\\(@<:@^;@:>@*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
t loop
' > ${D}{tmpdefFile}%
grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
else
rm -f ${D}{tmpdefFile}%
fi
cat ${D}tmpdefFile >> ${D}defFile
rm -f ${D}tmpdefFile
# Do linking, create implib, and apply lxlite.
gccCmdl="";
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
gccCmdl="${D}gccCmdl ${D}file"
;;
esac
done
doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
touch "${D}{outFile}.dll"
doCommand "emximp -o ${D}arcFile ${D}defFile"
if @<:@ ${D}flag_USE_LXLITE -ne 0 @:>@; then
add_flags="";
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
add_flags="-ynd"
fi
doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
fi
doCommand "emxomf -s -l ${D}arcFile"
# Successful exit.
CleanUp 1
exit 0
EOF
dnl ===================== dllar.sh ends here =====================
])
AC_DEFUN([AC_BAKEFILE_CREATE_FILE_BK_DEPS],
[
dnl ===================== bk-deps begins here =====================
@@ -1439,7 +981,7 @@ while test ${D}# -gt 0; do
args="${D}{args} ${D}1 ${D}2"
shift
;;
-s|-Wl,*)
# collect these load args
ldargs="${D}{ldargs} ${D}1"

132
build/aclocal/visibility.m4 Normal file
View File

@@ -0,0 +1,132 @@
dnl visibility.m4 serial 1 (gettext-0.15)
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
dnl Modified for use in wxWidgets by Vaclav Slavik:
dnl - don't define HAVE_VISIBILITY (=0) if not supported
dnl - use -fvisibility-inlines-hidden too
dnl - test in C++ mode
dnl Tests whether the compiler supports the command-line option
dnl -fvisibility=hidden and the function and variable attributes
dnl __attribute__((__visibility__("hidden"))) and
dnl __attribute__((__visibility__("default"))).
dnl Does *not* test for __visibility__("protected") - which has tricky
dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
dnl MacOS X.
dnl Does *not* test for __visibility__("internal") - which has processor
dnl dependent semantics.
dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
dnl "really only recommended for legacy code".
dnl Set the variable CFLAG_VISIBILITY.
dnl Defines and sets the variable HAVE_VISIBILITY.
AC_DEFUN([WX_VISIBILITY],
[
AC_REQUIRE([AC_PROG_CC])
if test -n "$GCC"; then
CFLAGS_VISIBILITY="-fvisibility=hidden"
CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
AC_MSG_CHECKING([for symbols visibility support])
AC_CACHE_VAL(wx_cv_cc_visibility, [
wx_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
AC_LANG_PUSH(C++)
AC_TRY_COMPILE(
[
/* we need gcc >= 4.0, older versions with visibility support
didn't have class visibility: */
#if defined(__GNUC__) && __GNUC__ < 4
error this gcc is too old;
#endif
/* visibility only makes sense for ELF shared libs: */
#if !defined(__ELF__) && !defined(__APPLE__)
error this platform has no visibility;
#endif
extern __attribute__((__visibility__("hidden"))) int hiddenvar;
extern __attribute__((__visibility__("default"))) int exportedvar;
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
extern __attribute__((__visibility__("default"))) int exportedfunc (void);
class __attribute__((__visibility__("default"))) Foo {
Foo() {}
};
],
[],
wx_cv_cc_visibility=yes,
wx_cv_cc_visibility=no)
AC_LANG_POP()
CXXFLAGS="$wx_save_CXXFLAGS"])
AC_MSG_RESULT([$wx_cv_cc_visibility])
if test $wx_cv_cc_visibility = yes; then
dnl we do have basic visibility support, now check if we can use it:
dnl
dnl Debian/Ubuntu's gcc 4.1 is affected:
dnl https://bugs.launchpad.net/ubuntu/+source/gcc-4.1/+bug/109262
AC_MSG_CHECKING([for broken libstdc++ visibility])
AC_CACHE_VAL(wx_cv_cc_broken_libstdcxx_visibility, [
wx_save_CXXFLAGS="$CXXFLAGS"
wx_save_LDFLAGS="$LDFLAGS"
CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
LDFLAGS="$LDFLAGS -shared -fPIC"
AC_LANG_PUSH(C++)
AC_TRY_LINK(
[
#include <string>
],
[
std::string s("hello");
return s.length();
],
wx_cv_cc_broken_libstdcxx_visibility=no,
wx_cv_cc_broken_libstdcxx_visibility=yes)
AC_LANG_POP()
CXXFLAGS="$wx_save_CXXFLAGS"
LDFLAGS="$wx_save_LDFLAGS"])
AC_MSG_RESULT([$wx_cv_cc_broken_libstdcxx_visibility])
if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
AC_MSG_CHECKING([whether we can work around it])
AC_CACHE_VAL(wx_cv_cc_visibility_workaround, [
AC_LANG_PUSH(C++)
AC_TRY_LINK(
[
#pragma GCC visibility push(default)
#include <string>
#pragma GCC visibility pop
],
[
std::string s("hello");
return s.length();
],
wx_cv_cc_visibility_workaround=no,
wx_cv_cc_visibility_workaround=yes)
AC_LANG_POP()
])
AC_MSG_RESULT([$wx_cv_cc_visibility_workaround])
if test $wx_cv_cc_visibility_workaround = no; then
dnl we can't use visibility at all then
wx_cv_cc_visibility=no
fi
fi
fi
if test $wx_cv_cc_visibility = yes; then
AC_DEFINE([HAVE_VISIBILITY])
if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
AC_DEFINE([HAVE_BROKEN_LIBSTDCXX_VISIBILITY])
fi
else
CFLAGS_VISIBILITY=""
CXXFLAGS_VISIBILITY=""
fi
AC_SUBST([CFLAGS_VISIBILITY])
AC_SUBST([CXXFLAGS_VISIBILITY])
fi
])

View File

@@ -0,0 +1,26 @@
# Created: 2005/03/12
# Author: David Elliott
# For autoconf: Debian in their infinite wisdom decided to improve upon
# the standard autoconf 2.59 macros. Thus Debian's autoconf generates
# a totally different configure script. This fixes it to look
# mostly like Debian's. There are also some fixes pulled in from the OS/2
# fork of autoconf.
# Rule to freeze the m4 so autoconf will actually use it.
# NOTE: VERY important to cd to somewhere there are no .m4 files.
# or at least no aclocal.m4 or else autom4te helpfully picks it up.
.PHONY: all
all: autoconf/autoconf.m4f
AUTOCONF_SOURCES = \
autoconf/c.m4 \
autoconf/general.m4 \
autoconf/libs.m4 \
autoconf/status.m4
AUTOM4TE=autom4te
autoconf/autoconf.m4f: $(AUTOCONF_SOURCES)
$(AUTOM4TE) -B . --language=Autoconf --freeze --output=autoconf/autoconf.m4f

View File

@@ -0,0 +1,22 @@
wxAutohacks
wxAutohacks is a way of ensuring the configure script remains consistent
between developer commits. Previous releases include a build/aclocal_include
which has now been moved into the wxWidgets build/aclocal directory.
At the moment, it is intended to be copied and or symlinked into a wxWidgets
source tree. For example, assume you have wxWidgets checked out in the
/home/myname/wxCVS/wxWidgets/ path. Then from /home/myname/wxCVS do this:
cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout wxAutohacks
You will now have wxAutohacks in /home/myname/wxCVS/wxAutohacks/. Now go into
the wxWidgets build (/home/myname/wxCVS/wxWidgets/build/) and do this:
ln -s ../../wxAutohacks/build/autoconf_prepend-include .
From now on from the root of your wxWidgets source tree when you do this:
make -f build/autogen.mk
you will also build an autoconf.m4f file which will ensure the configure
script stays consistent.
Alternatively you can do this:
make -f build/autogen.mk AUTOHACKS_PREPEND_INCLUDE_DIR=../wxAutohacks/build/autoconf_prepend-include

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,496 @@
# This file is part of Autoconf. -*- Autoconf -*-
# Checking for libraries.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception, the Free Software Foundation gives unlimited
# permission to copy, distribute and modify the configure scripts that
# are the output of Autoconf. You need not follow the terms of the GNU
# General Public License when using or distributing such scripts, even
# though portions of the text of Autoconf appear in them. The GNU
# General Public License (GPL) does govern all other use of the material
# that constitutes the Autoconf program.
#
# Certain portions of the Autoconf source text are designed to be copied
# (in certain cases, depending on the input) into the output of
# Autoconf. We call these the "data" portions. The rest of the Autoconf
# source text consists of comments plus executable code that decides which
# of the data portions to output in any given case. We call these
# comments and executable code the "non-data" portions. Autoconf never
# copies any of the non-data portions into its output.
#
# This special exception to the GPL applies to versions of Autoconf
# released by the Free Software Foundation. When you make and
# distribute a modified version of Autoconf, you may extend this special
# exception to the GPL to apply to your modified version as well, *unless*
# your modified version has the potential to copy into its output some
# of the text that was the non-data portion of the version that you started
# with. (In other words, unless your change moves or copies text from
# the non-data portions to the data portions.) If your modification has
# such potential, you must delete any notice of this special exception
# to the GPL from your modified version.
#
# Written by David MacKenzie, with help from
# Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor,
# Roland McGrath, Noah Friedman, david d zuhn, and many others.
# Table of contents
#
# 1. Generic tests for libraries
# 2. Tests for specific libraries
## --------------------------------- ##
## 1. Generic tests for libraries.## ##
## --------------------------------- ##
# AC_SEARCH_LIBS(FUNCTION, SEARCH-LIBS,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# --------------------------------------------------------
# Search for a library defining FUNC, if it's not already available.
AC_DEFUN([AC_SEARCH_LIBS],
[AS_VAR_PUSHDEF([ac_Search], [ac_cv_search_$1])dnl
AC_CACHE_CHECK([for library containing $1], [ac_Search],
[ac_func_search_save_LIBS=$LIBS
AC_LANG_CONFTEST([AC_LANG_CALL([], [$1])])
for ac_lib in '' $2; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
fi
AC_LINK_IFELSE([], [AS_VAR_SET([ac_Search], [$ac_res])])
AS_VAR_SET_IF([ac_Search], [break])dnl
done
AS_VAR_SET_IF([ac_Search], , [AS_VAR_SET([ac_Search], [no])])dnl
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS])
ac_res=AS_VAR_GET([ac_Search])
AS_IF([test "$ac_res" != no],
[test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
$3],
[$4])dnl
AS_VAR_POPDEF([ac_Search])dnl
])
# AC_CHECK_LIB(LIBRARY, FUNCTION,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# ------------------------------------------------------
#
# Use a cache variable name containing both the library and function name,
# because the test really is for library $1 defining function $2, not
# just for library $1. Separate tests with the same $1 and different $2s
# may have different results.
#
# Note that using directly AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])
# is asking for troubles, since AC_CHECK_LIB($lib, fun) would give
# ac_cv_lib_$lib_fun, which is definitely not what was meant. Hence
# the AS_LITERAL_IF indirection.
#
# FIXME: This macro is extremely suspicious. It DEFINEs unconditionally,
# whatever the FUNCTION, in addition to not being a *S macro. Note
# that the cache does depend upon the function we are looking for.
#
# It is on purpose we used `ac_check_lib_save_LIBS' and not just
# `ac_save_LIBS': there are many macros which don't want to see `LIBS'
# changed but still want to use AC_CHECK_LIB, so they save `LIBS'.
# And ``ac_save_LIBS' is too tempting a name, so let's leave them some
# freedom.
AC_DEFUN([AC_CHECK_LIB],
[m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
AS_LITERAL_IF([$1],
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
AC_CACHE_CHECK([for $2 in -l$1], [ac_Lib],
[ac_check_lib_save_LIBS=$LIBS
LIBS="-l$1 $5 $LIBS"
AC_LINK_IFELSE([AC_LANG_CALL([], [$2])],
[AS_VAR_SET([ac_Lib], [yes])],
[AS_VAR_SET([ac_Lib], [no])])
LIBS=$ac_check_lib_save_LIBS])
AS_IF([test AS_VAR_GET([ac_Lib]) = yes],
[m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
LIBS="-l$1 $LIBS"
])],
[$4])dnl
AS_VAR_POPDEF([ac_Lib])dnl
])# AC_CHECK_LIB
# AH_CHECK_LIB(LIBNAME)
# ---------------------
m4_define([AH_CHECK_LIB],
[AH_TEMPLATE(AS_TR_CPP([HAVE_LIB$1]),
[Define to 1 if you have the `$1' library (-l$1).])])
# AC_HAVE_LIBRARY(LIBRARY,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# ---------------------------------------------------------
#
# This macro is equivalent to calling `AC_CHECK_LIB' with a FUNCTION
# argument of `main'. In addition, LIBRARY can be written as any of
# `foo', `-lfoo', or `libfoo.a'. In all of those cases, the compiler
# is passed `-lfoo'. However, LIBRARY cannot be a shell variable;
# it must be a literal name.
AU_DEFUN([AC_HAVE_LIBRARY],
[m4_pushdef([AC_Lib_Name],
m4_bpatsubst(m4_bpatsubst([[$1]],
[lib\([^\.]*\)\.a], [\1]),
[-l], []))dnl
AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
m4_popdef([AC_Lib_Name])dnl
])
## --------------------------------- ##
## 2. Tests for specific libraries. ##
## --------------------------------- ##
# --------------------- #
# Checks for X window. #
# --------------------- #
# _AC_PATH_X_XMKMF
# ----------------
# Internal subroutine of _AC_PATH_X.
# Set ac_x_includes and/or ac_x_libraries.
m4_define([_AC_PATH_X_XMKMF],
[AC_ARG_VAR(XMKMF, [Path to xmkmf, Makefile generator for X Window System])dnl
rm -f -r conftest.dir
if mkdir conftest.dir; then
cd conftest.dir
cat >Imakefile <<'_ACEOF'
incroot:
@echo incroot='${INCROOT}'
usrlibdir:
@echo usrlibdir='${USRLIBDIR}'
libdir:
@echo libdir='${LIBDIR}'
_ACEOF
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
for ac_var in incroot usrlibdir libdir; do
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
done
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl; do
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
test -f "$ac_im_libdir/libX11.$ac_extension"; then
ac_im_usrlibdir=$ac_im_libdir; break
fi
done
# Screen out bogus values from the imake configuration. They are
# bogus both because they are the default anyway, and because
# using them would break gcc on systems where it needs fixed includes.
case $ac_im_incroot in
/usr/include) ac_x_includes= ;;
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case $ac_im_usrlibdir in
/usr/lib | /lib) ;;
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
rm -f -r conftest.dir
fi
])# _AC_PATH_X_XMKMF
# _AC_PATH_X_DIRECT
# -----------------
# Internal subroutine of _AC_PATH_X.
# Set ac_x_includes and/or ac_x_libraries.
m4_define([_AC_PATH_X_DIRECT],
[# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include
/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4
/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include
/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4
/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11
/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include
/usr/openwin/include
/usr/openwin/share/include'
if test "$ac_x_includes" = no; then
# Guess where to find include files, by looking for Xlib.h.
# First, try using that file with no special directory specified.
AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
[# We can compile using X headers with no special include directory.
ac_x_includes=],
[for ac_dir in $ac_x_header_dirs; do
if test -r "$ac_dir/X11/Xlib.h"; then
ac_x_includes=$ac_dir
break
fi
done])
fi # $ac_x_includes = no
if test "$ac_x_libraries" = no; then
# Check for the libraries.
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
LIBS="-lX11 $LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
[XrmInitialize ()])],
[LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=],
[LIBS=$ac_save_LIBS
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
# Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl; do
if test -r "$ac_dir/libX11.$ac_extension"; then
ac_x_libraries=$ac_dir
break 2
fi
done
done])
fi # $ac_x_libraries = no
])# _AC_PATH_X_DIRECT
# _AC_PATH_X
# ----------
# Compute ac_cv_have_x.
AC_DEFUN([_AC_PATH_X],
[AC_CACHE_VAL(ac_cv_have_x,
[# One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
_AC_PATH_X_XMKMF
_AC_PATH_X_DIRECT
case $ac_x_includes,$ac_x_libraries in #(
no,* | *,no | *\'*)
# Didn't find X, or a directory has "'" in its name.
ac_cv_have_x="have_x=no";; #(
*)
# Record where we found X for the cache.
ac_cv_have_x="have_x=yes\
ac_x_includes='$ac_x_includes'\
ac_x_libraries='$ac_x_libraries'"
esac])dnl
])
# AC_PATH_X
# ---------
# If we find X, set shell vars x_includes and x_libraries to the
# paths, otherwise set no_x=yes.
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
AN_HEADER([X11/Xlib.h], [AC_PATH_X])
AC_DEFUN([AC_PATH_X],
[dnl Document the X abnormal options inherited from history.
m4_divert_once([HELP_BEGIN], [
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR])dnl
AC_MSG_CHECKING([for X])
AC_ARG_WITH(x, [ --with-x use the X Window System])
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
# The user explicitly disabled X.
have_x=disabled
else
case $x_includes,$x_libraries in #(
*\'*) AC_MSG_ERROR([Cannot use X directory names containing ']);; #(
*,NONE | NONE,*) _AC_PATH_X;; #(
*) have_x=yes;;
esac
eval "$ac_cv_have_x"
fi # $with_x != no
if test "$have_x" != yes; then
AC_MSG_RESULT([$have_x])
no_x=yes
else
# If each of the values was on the command line, it overrides each guess.
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
# Update the cache value to reflect the command line values.
ac_cv_have_x="have_x=yes\
ac_x_includes='$x_includes'\
ac_x_libraries='$x_libraries'"
AC_MSG_RESULT([libraries $x_libraries, headers $x_includes])
fi
])# AC_PATH_X
# AC_PATH_XTRA
# ------------
# Find additional X libraries, magic flags, etc.
AC_DEFUN([AC_PATH_XTRA],
[AC_REQUIRE([AC_PATH_X])dnl
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
AC_DEFINE([X_DISPLAY_MISSING], 1,
[Define to 1 if the X Window System is missing or not being used.])
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
if test -n "$x_includes"; then
X_CFLAGS="$X_CFLAGS -I$x_includes"
fi
# It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then
X_LIBS="$X_LIBS -L$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
AC_MSG_CHECKING([whether -R must be followed by a space])
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
ac_xsave_[]_AC_LANG_ABBREV[]_werror_flag=$ac_[]_AC_LANG_ABBREV[]_werror_flag
ac_[]_AC_LANG_ABBREV[]_werror_flag=yes
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
[AC_MSG_RESULT([no])
X_LIBS="$X_LIBS -R$x_libraries"],
[LIBS="$ac_xsave_LIBS -R $x_libraries"
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
[AC_MSG_RESULT([yes])
X_LIBS="$X_LIBS -R $x_libraries"],
[AC_MSG_RESULT([neither works])])])
ac_[]_AC_LANG_ABBREV[]_werror_flag=$ac_xsave_[]_AC_LANG_ABBREV[]_werror_flag
LIBS=$ac_xsave_LIBS
fi
# Check for system-dependent libraries X programs must link with.
# Do this before checking for the system-independent R6 libraries
# (-lICE), since we may need -lsocket or whatever for X linking.
if test "$ISC" = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
# Martyn Johnson says this is needed for Ultrix, if the X
# libraries were built with DECnet support. And Karl Berry says
# the Alpha needs dnet_stub (dnet does not exist).
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
AC_LINK_IFELSE([AC_LANG_CALL([], [XOpenDisplay])],
[],
[AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
AC_CHECK_LIB(dnet_stub, dnet_ntoa,
[X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
fi])
LIBS="$ac_xsave_LIBS"
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl.
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to T.E. Dickey.
# The functions gethostbyname, getservbyname, and inet_addr are
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
AC_CHECK_FUNC(gethostbyname)
if test $ac_cv_func_gethostbyname = no; then
AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
if test $ac_cv_lib_nsl_gethostbyname = no; then
AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
fi
fi
# lieder@skyler.mavd.honeywell.com says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
# on later versions), says Simon Leinen: it contains gethostby*
# variants that don't use the name server (or something). -lsocket
# must be given before -lnsl if both are needed. We assume that
# if connect needs -lnsl, so does gethostbyname.
AC_CHECK_FUNC(connect)
if test $ac_cv_func_connect = no; then
AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
$X_EXTRA_LIBS)
fi
# Guillermo Gomez says -lposix is necessary on A/UX.
AC_CHECK_FUNC(remove)
if test $ac_cv_func_remove = no; then
AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
AC_CHECK_FUNC(shmat)
if test $ac_cv_func_shmat = no; then
AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
# John Interrante, Karl Berry
AC_CHECK_LIB(ICE, IceConnectionNumber,
[X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
LDFLAGS=$ac_save_LDFLAGS
fi
AC_SUBST(X_CFLAGS)dnl
AC_SUBST(X_PRE_LIBS)dnl
AC_SUBST(X_LIBS)dnl
AC_SUBST(X_EXTRA_LIBS)dnl
])# AC_PATH_XTRA

File diff suppressed because it is too large Load Diff

View File

@@ -58,7 +58,8 @@ ACLOCAL_SOURCES = \
build/aclocal/gtk-2.0.m4 \
build/aclocal/gtk.m4 \
build/aclocal/pkg.m4 \
build/aclocal/sdl.m4
build/aclocal/sdl.m4 \
build/aclocal/visibility.m4
# Run aclocal whenever acinclude or one of our local m4s is updated.
aclocal.m4: configure.in acinclude.m4 $(ACLOCAL_SOURCES)

View File

@@ -1,2 +0,0 @@
.bakefile_gen.state
Bakefiles.local.bkgen

View File

@@ -15,17 +15,11 @@
Reasons why these formats are disabled (and so not in CVS):
cbuilderx - Generated projects are too bad to be included in CVS. Please
*do not* enable this format until FIXMEs in .bkl files related
to cbuilderx are addressed. In particular, the project must
be placed into build/msw(?) directory and store object files
in its subdirectory and it must copy setup.h as others do.
cbx_unix - Doesn't integrate well and won't be used by most Unix people.
dmars, dmars_smake, msevc4prj - These are generated at release time and
we don't want to clutter the source tree with these files.
-->
<disable-formats>dmars,dmars_smake,msevc4prj,cbx_unix,cbuilderx</disable-formats>
<disable-formats>dmars,dmars_smake,msevc4prj</disable-formats>
<!-- These wildcards match all .bkl files in wxWidgets tree: -->
@@ -50,26 +44,26 @@
<!-- List of output formats to generate: -->
<add-formats>
autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom
</add-formats>
<del-formats files="../../samples/*.bkl">
autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix
autoconf,msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<del-formats files="../../demos/*.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<del-formats files="../../samples/html/html_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<del-formats files="../../samples/mobile/mobile_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<del-formats files="../../samples/opengl/opengl_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<del-formats files="../../utils/*.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj
</del-formats>
<!-- WinCE can't have console apps: -->
@@ -81,7 +75,7 @@
<!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
<del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2005prj,watcom
</del-formats>
@@ -114,24 +108,17 @@
<add-flags files="wx.bkl" formats="msvc6prj">
-o../msw/wx.dsw
</add-flags>
<add-flags files="wx.bkl" formats="msvs2005prj">
-o../msw/wx.sln
</add-flags>
<add-flags files="wx.bkl" formats="msevc4prj">
-o../wince/wx.vcw
</add-flags>
<add-flags files="wx.bkl" formats="cbuilderx">
-o../../wx.cbx
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
</add-flags>
<!-- FIXME: don't do this once it is possible (new CBX version) -->
<add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl"
formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj,msvs2005prj">
-DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
</add-flags>
@@ -150,7 +137,8 @@
<add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
-DWRITE_OPTIONS_FILE=0
</add-flags>
<del-flags files="wx.bkl">
<del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
files="wx.bkl">
-DWRITE_OPTIONS_FILE=0
</del-flags>

View File

@@ -8,7 +8,7 @@
the library.
-->
<if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','cbuilderx'] and
<if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','msvs2005prj'] and
TOOLKIT in ['PM','MSW','MGL','MOTIF']">
<set var="BUILD_CFG_FILE" make_var="1">

View File

@@ -155,6 +155,9 @@
<set var="WXLIB_RICHTEXT">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('richtext')))</if>
</set>
<set var="WXLIB_STC">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('stc')))</if>
</set>
<set var="WXLIB_MONO">
<if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
@@ -180,13 +183,13 @@
<set var="CFG_NAME_PART">
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
</set>
<!-- NB: this is make_var so that it can be overriden on command line
like this: nmake -f makefile.vc COMPILER_PREFIX=vc6 -->
<set var="COMPILER_PREFIX" make_var="1">$(COMPILER)</set>
<set var="OBJS" make_var="1">
<if cond="FORMAT!='cbuilderx'">
$(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU)
</if>
<!-- FIXME: waiting for removal after CBX has better ../ dirs
support -->
<if cond="FORMAT=='cbuilderx'">build_cbx_$(CFG_NAME_PART)</if>
$(COMPILER_PREFIX)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU)
</set>
<set var="BUILDDIR">$(OBJS)</set>
@@ -202,7 +205,7 @@
<set var="LIBDIRNAME" make_var="1">
<if cond="FORMAT=='autoconf'">$(wx_top_builddir)/lib</if>
<if cond="FORMAT!='autoconf'">
$(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
$(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
</if>
</set>
@@ -347,7 +350,9 @@
<!-- deal with the need to copy setup.h here: -->
<set var="IS_MSVC_PRJ">$(FORMAT in ['msvc6prj','msevc4prj'])</set>
<set var="IS_MSVC_PRJ">
$(FORMAT in ['msvc6prj','msevc4prj','msvs2005prj'])
</set>
<define-tag name="msvc-headers" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
@@ -360,7 +365,7 @@
<set var="msvc_copy_setup_h_script">
<if cond="IS_MSVC_PRJ">
Creating $(SETUPHDIR)\wx\setup.h
InputPath=..\include\wx\%s
InputPath=..\..\include\wx\%s
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
@@ -419,8 +424,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
</set>
<set var="_custom_build_include_wx_msw_genrcdefs_h">
Creating $(SETUPHDIR)\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(DOLLAR)(SETUPHDIR)\wx\msw"
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(SETUPHDIR)\wx\msw"
$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</set>
</if>
@@ -443,6 +449,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<include file="tiff.bkl"/>
<include file="odbc.bkl"/>
<include file="expat.bkl"/>
<include file="scintilla.bkl"/>
<!-- =============================================================== -->
@@ -487,7 +494,9 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<lib-path>$(MGLLIBPATH)</lib-path>
<lib-path>$(MGLLIBPATH)/$(MGLPMLIBPATH)</lib-path>
</if>
<warnings>max</warnings>
<cxxflags cond="FORMAT=='autoconf'">$(CXXWARNINGS)</cxxflags>
<cppflags-watcom>
-wcd=549 <!-- 'sizeof' operand contains compiler generated information -->
-wcd=656 <!-- define this function inside its class definition (may improve code quality) -->
@@ -589,6 +598,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<set var="WXLIBNAME">$(wxwin.mkLibName(wxid))</set>
<libname>$(WXLIBNAME)</libname>
<define>WXBUILDING</define>
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
<if cond="FORMAT!='autoconf' and TOOLKIT in ['MSW','MGL','PM','WINCE']">
<sources>$(WXTOPDIR)src/common/dummy.cpp</sources>
@@ -650,6 +661,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<depends>wxtiff</depends>
<depends>wxjpeg</depends>
<depends>wxpng</depends>
<depends>wxscintilla</depends>
</template>
<template id="wx_3rdparty_dependencies"
@@ -664,6 +676,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
<include>$(DOLLAR)(%SCITECH)/include</include>
</if>
<include>$(INC_TIFF_BUILD)</include>
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>

View File

@@ -49,7 +49,7 @@
<option name="UNICODE">
<values>0,1</values>
<values-description>,Unicode</values-description>
<default-value>0</default-value>
<default-value>1</default-value>
<description>
Compile Unicode build of wxWidgets?
</description>
@@ -98,8 +98,8 @@ Accepted values: AMD64, IA64.
<!-- FIXME: restore this once bakefile is fixed to not use
/Gm /GZ (incompatible with /O2) w/ debug-info -->
<set var="DEBUG_INFO_DEFAULT">
<if cond="FORMAT in ['msvc','msvc6prj','msevc4prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj']">default</if>
<if cond="FORMAT in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">default</if>
</set>
-->
<set var="DEBUG_INFO_DEFAULT">default</set>
@@ -213,6 +213,14 @@ Acts according to BUILD by default.
</description>
</option>
<option name="USE_STC">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build wxStyledTextCtrl library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_OPENGL">
<values>0,1</values>
<default-value>0</default-value>
@@ -231,8 +239,8 @@ Acts according to BUILD by default.
<!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
<set var="USE_QA_DEFAULT">
<if cond="FORMAT in ['msvc','msvc6prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj']">0</if>
<if cond="FORMAT in ['msvc','msvc6prj','msvs2005prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msvs2005prj']">0</if>
</set>
<option name="USE_QA">
<values>0,1</values>
@@ -344,6 +352,7 @@ to run the tests, include CppUnit library here.
<option name="EXTRALIBS_OPENGL"/>
<option name="EXTRALIBS_SDL"/>
<option name="EXTRALIBS_GNOMEPRINT"/>
<option name="CXXWARNINGS"/>
<option name="HOST_SUFFIX"/>
<option name="SAMPLES_RPATH_FLAG"/>
<option name="SAMPLES_RPATH_POSTLINK"/>
@@ -425,12 +434,6 @@ Set the version of your Mingw installation here.
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
</if>
<if cond="FORMAT=='cbuilderx'">
<set var="EXTRACFLAGS">
<if cond="COMPILER=='gcc'">-DHAVE_W32API_H</if>
</set>
</if>
<!-- ================================================================== -->
<!-- Project files - hardcode some defaults -->
@@ -441,6 +444,7 @@ Set the version of your Mingw installation here.
<set var="OFFICIAL_BUILD">0</set>
<set var="USE_AUI">1</set>
<set var="USE_RICHTEXT">1</set>
<set var="USE_STC">1</set>
<set var="USE_HTML">1</set>
<set var="USE_MEDIA">1</set>
<set var="USE_XRC">1</set>
@@ -459,19 +463,6 @@ Set the version of your Mingw installation here.
</if>
<!-- FIXME:
C++BuilderX supports only wxMSW, monolithic (sic!) static build
and the project can't be put into build/msw and store objects in
build/msw/something. This *must* be fixed! -->
<if cond="FORMAT=='cbuilderx'">
<set var="WXUNIV">0</set>
<set var="MONOLITHIC">1</set>
<set var="SRCDIR">.</set>
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
<set var="SHARED">0</set>
</if>
<!-- DigitalMars make is braindead, it doesn't have conditional
processing: -->
<if cond="FORMAT=='dmars'">
@@ -479,7 +470,7 @@ Set the version of your Mingw installation here.
<set var="BUILD">debug</set>
<set var="SHARED">0</set>
<set var="WXUNIV">0</set>
<set var="UNICODE">0</set>
<set var="UNICODE">1</set>
<!-- Free version does not distribute OpenGL,
in commercial distribution better use dmars_smake format -->
<set var="USE_OPENGL">0</set>

View File

@@ -54,22 +54,33 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- UNIX -->
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->
<set var="BASE_UNIX_SRC" hints="files">
src/common/fdiodispatcher.cpp
src/common/selectdispatcher.cpp
src/unix/appunix.cpp
src/unix/baseunix.cpp
src/unix/dir.cpp
src/unix/dlunix.cpp
src/unix/epolldispatcher.cpp
src/unix/evtloopunix.cpp
src/unix/mimetype.cpp
src/unix/snglinst.cpp
src/unix/stackwalk.cpp
src/unix/stdpaths.cpp
src/unix/threadpsx.cpp
src/unix/timerunx.cpp
</set>
<set var="BASE_AND_GUI_UNIX_SRC" hints="files">
src/unix/utilsunx.cpp
</set>
<set var="BASE_UNIX_HDR" hints="files">
wx/private/fdiodispatcher.h
wx/private/selectdispatcher.h
wx/unix/app.h
wx/unix/apptbase.h
wx/unix/apptrait.h
wx/unix/chkconf.h
wx/unix/execute.h
wx/unix/evtloop.h
wx/unix/mimetype.h
wx/unix/pipe.h
wx/unix/private.h
@@ -95,10 +106,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/stackwalk.cpp
src/msw/stdpaths.cpp
src/msw/thread.cpp
src/msw/timer.cpp
src/msw/utils.cpp
src/msw/utilsexc.cpp
</set>
<set var="BASE_AND_GUI_WIN32_SRC" hints="files">
src/msw/evtloop.cpp
src/msw/main.cpp
src/msw/mslu.cpp
src/msw/volume.cpp
@@ -143,12 +156,14 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<set var="BASE_COREFOUNDATION_SRC" hints="files">
src/mac/corefoundation/cfstring.cpp
src/mac/corefoundation/stdpaths_cf.cpp
src/mac/corefoundation/strconv_cf.cpp
src/mac/corefoundation/utilsexc_base.cpp
</set>
<set var="BASE_COREFOUNDATION_HDR" hints="files">
wx/mac/corefoundation/cfstring.h
wx/mac/corefoundation/hid.h
wx/mac/corefoundation/stdpaths.h
wx/mac/corefoundation/private/strconv_cf.h
</set>
<!-- Base files used by Carbon on OS X and CarbonLib (not true Classic) -->
@@ -197,15 +212,26 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- Base files used only by OS X builds (not CarbonLib or Classic) -->
<set var="BASE_MACOSX_WXMAC_SRC" hints="files">
$(BASE_MAC_SRC)
src/common/fdiodispatcher.cpp
src/common/selectdispatcher.cpp
src/unix/appunix.cpp
src/unix/baseunix.cpp
src/unix/evtloopunix.cpp
src/unix/dlunix.cpp
src/unix/snglinst.cpp
src/unix/stdpaths.cpp
src/unix/timerunx.cpp
</set>
<set var="BASE_MACOSX_WXMAC_HDR" hints="files">
$(BASE_MAC_HDR)
wx/private/fdiodispatcher.h
wx/private/selectdispatcher.h
wx/unix/app.h
wx/unix/apptbase.h
wx/unix/apptrait.h
wx/unix/chkconf.h
wx/unix/evtloop.h
wx/unix/pipe.h
wx/unix/stdpaths.h
</set>
@@ -293,6 +319,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/arcall.cpp
src/common/arcfind.cpp
src/common/archive.cpp
src/common/arrstr.cpp
src/common/base64.cpp
src/common/clntdata.cpp
src/common/cmdline.cpp
src/common/config.cpp
@@ -304,6 +332,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/dynlib.cpp
src/common/dynload.cpp
src/common/encconv.cpp
src/common/evtloopcmn.cpp
src/common/extended.c
src/common/ffile.cpp
src/common/file.cpp
@@ -340,16 +369,23 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/strconv.cpp
src/common/stream.cpp
src/common/string.cpp
src/common/stringimpl.cpp
src/common/stringops.cpp
src/common/strvararg.cpp
src/common/sysopt.cpp
src/common/tarstrm.cpp
src/common/textbuf.cpp
src/common/textfile.cpp
src/common/timercmn.cpp
src/common/timerimpl.cpp
src/common/tokenzr.cpp
src/common/txtstrm.cpp
src/common/unichar.cpp
src/common/uri.cpp
src/common/variant.cpp
src/common/wfstream.cpp
src/common/wxchar.cpp
src/common/wxcrt.cpp
src/common/wxprintf.cpp
src/common/xti.cpp
src/common/xtistrm.cpp
src/common/zipstrm.cpp
@@ -368,9 +404,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/archive.h
wx/arrimpl.cpp
wx/arrstr.h
wx/atomic.h
wx/base64.h
wx/beforestd.h
wx/buffer.h
wx/build.h
wx/chartype.h
wx/chkconf.h
wx/clntdata.h
wx/cmdline.h
@@ -379,6 +418,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/convauto.h
wx/containr.h
wx/cpp.h
wx/crt.h
wx/datetime.h
wx/datstrm.h
wx/dde.h
@@ -393,6 +433,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/event.h
wx/except.h
wx/features.h
wx/flags.h
wx/ffile.h
wx/file.h
wx/fileconf.h
@@ -450,6 +491,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/strconv.h
wx/stream.h
wx/string.h
wx/stringimpl.h
wx/stringops.h
wx/strvararg.h
wx/sysopt.h
wx/tarstrm.h
wx/textbuf.h
@@ -460,6 +504,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/tokenzr.h
wx/txtstrm.h
wx/types.h
wx/unichar.h
wx/uri.h
wx/utils.h
wx/variant.h
@@ -469,6 +514,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/wfstream.h
wx/wx.h
wx/wxchar.h
wx/wxcrt.h
wx/wxcrtbase.h
wx/wxcrtvararg.h
wx/wxprec.h
wx/xti.h
wx/xtistrm.h
@@ -561,6 +609,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- ====================================================================== -->
<set var="GUI_CMN_SRC" hints="files">
src/common/accelcmn.cpp
src/common/accesscmn.cpp
src/common/anidecod.cpp
src/common/appcmn.cpp
@@ -568,6 +617,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/artstd.cpp
src/common/bmpbase.cpp
src/common/bookctrl.cpp
src/common/btncmn.cpp
src/common/cairo.cpp
src/common/choiccmn.cpp
src/common/clipcmn.cpp
src/common/clrpickercmn.cpp
@@ -583,6 +634,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/dcbase.cpp
src/common/dcbufcmn.cpp
src/common/dcgraph.cpp
src/common/dcsvg.cpp
src/common/dlgcmn.cpp
src/common/dndcmn.cpp
src/common/dobjcmn.cpp
@@ -591,14 +643,15 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/dpycmn.cpp
src/common/dseldlg.cpp
src/common/effects.cpp
src/common/evtloopcmn.cpp
src/common/fddlgcmn.cpp
src/common/filectrlcmn.cpp
src/common/filepickercmn.cpp
src/common/fontpickercmn.cpp
src/common/fldlgcmn.cpp
src/common/fontcmn.cpp
src/common/fontenumcmn.cpp
src/common/fontmap.cpp
src/common/fontutilcmn.cpp
src/common/framecmn.cpp
src/common/gaugecmn.cpp
src/common/gbsizer.cpp
@@ -640,10 +693,11 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/sizer.cpp
src/common/srchcmn.cpp
src/common/statbar.cpp
src/common/stattextcmn.cpp
src/common/stockitem.cpp
src/common/tbarbase.cpp
src/common/textcmn.cpp
src/common/timercmn.cpp
src/common/textentrycmn.cpp
src/common/toplvcmn.cpp
src/common/treebase.cpp
src/common/valgen.cpp
@@ -661,6 +715,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/generic/dcpsg.cpp
src/generic/dirctrlg.cpp
src/generic/dragimgg.cpp
src/generic/filectrlg.cpp
src/generic/filepickerg.cpp
src/generic/fontpickerg.cpp
src/generic/listbkg.cpp
@@ -687,6 +742,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/bmpbuttn.h
wx/brush.h
wx/button.h
wx/cairo.h
wx/checkbox.h
wx/checklst.h
wx/choicdlg.h
@@ -704,6 +760,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/dcmemory.h
wx/dcprint.h
wx/dcscreen.h
wx/dcsvg.h
wx/dialog.h
wx/dirdlg.h
wx/dragimag.h
@@ -723,6 +780,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/generic/dcpsg.h
wx/generic/dirctrlg.h
wx/generic/dragimgg.h
wx/generic/filectrlg.h
wx/generic/filedlgg.h
wx/generic/filepickerg.h
wx/generic/fontdlgg.h
@@ -740,7 +798,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/generic/splitter.h
wx/generic/srchctlg.h
wx/generic/textdlgg.h
wx/generic/timer.h
wx/generic/treectlg.h
wx/graphics.h
wx/helphtml.h
@@ -755,6 +812,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/palette.h
wx/panel.h
wx/pen.h
wx/position.h
wx/radiobox.h
wx/radiobut.h
wx/renderer.h
@@ -771,6 +829,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/statusbr.h
wx/textctrl.h
wx/textdlg.h
wx/textentry.h
wx/toolbar.h
wx/validate.h
wx/valtext.h
@@ -806,6 +865,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/effects.h
wx/evtloop.h
wx/fdrepdlg.h
wx/filectrl.h
wx/filepicker.h
wx/fontpicker.h
wx/fmappriv.h
@@ -816,7 +876,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gdiobj.h
wx/geometry.h
wx/gifdecod.h
wx/glcanvas.h
wx/help.h
wx/helpbase.h
wx/helpwin.h
@@ -840,6 +899,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/menuitem.h
wx/metafile.h
wx/minifram.h
wx/nonownedwnd.h
wx/notebook.h
wx/ownerdrw.h
wx/paper.h
@@ -916,7 +976,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/clipbrd.cpp
src/gtk/colour.cpp
src/gtk/cursor.cpp
src/gtk/data.cpp
src/gtk/dataobj.cpp
src/gtk/dc.cpp
src/gtk/dcclient.cpp
@@ -924,9 +983,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/dcscreen.cpp
src/gtk/dnd.cpp
src/gtk/evtloop.cpp
src/gtk/filectrl.cpp
src/gtk/font.cpp
src/gtk/gsockgtk.cpp
src/gtk/main.cpp
src/gtk/minifram.cpp
src/gtk/pen.cpp
src/gtk/popupwin.cpp
@@ -964,7 +1023,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/pen.h
wx/gtk/popupwin.h
wx/gtk/region.h
wx/gtk/timer.h
wx/gtk/tooltip.h
wx/gtk/toplevel.h
wx/gtk/win_gtk.h
@@ -1007,6 +1065,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/gauge.cpp
src/gtk/gnome/gprint.cpp
src/gtk/gnome/gvfs.cpp
src/gtk/print.cpp
src/gtk/listbox.cpp
src/gtk/mdi.cpp
src/gtk/menu.cpp
@@ -1025,9 +1084,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/stattext.cpp
src/gtk/tbargtk.cpp
src/gtk/textctrl.cpp
src/gtk/textentry.cpp
src/gtk/tglbtn.cpp
src/gtk/treeentry_gtk.c
src/gtk/utilsres.cpp
</set>
<set var="GTK_HDR" hints="files">
wx/generic/colrdlgg.h
@@ -1041,6 +1100,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/button.h
wx/gtk/checkbox.h
wx/gtk/checklst.h
wx/gtk/chkconf.h
wx/gtk/collpane.h
wx/gtk/colordlg.h
wx/gtk/choice.h
@@ -1049,6 +1109,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/clrpicker.h
wx/gtk/dialog.h
wx/gtk/dirdlg.h
wx/gtk/filectrl.h
wx/gtk/filedlg.h
wx/gtk/fontpicker.h
wx/gtk/filepicker.h
@@ -1057,6 +1118,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/gauge.h
wx/gtk/gnome/gprint.h
wx/gtk/gnome/gvfs.h
wx/gtk/print.h
wx/gtk/listbox.h
wx/gtk/mdi.h
wx/gtk/menu.h
@@ -1076,6 +1138,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/stattext.h
wx/gtk/tbargtk.h
wx/gtk/textctrl.h
wx/gtk/textentry.h
wx/gtk/tglbtn.h
wx/gtk/treectrl.h
wx/gtk/treeentry_gtk.h
@@ -1143,7 +1206,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk1/pen.h
wx/gtk1/popupwin.h
wx/gtk1/region.h
wx/gtk1/timer.h
wx/gtk1/tooltip.h
wx/gtk1/toplevel.h
wx/gtk1/win_gtk.h
@@ -1194,7 +1256,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk1/tbargtk.cpp
src/gtk1/textctrl.cpp
src/gtk1/tglbtn.cpp
src/gtk1/utilsres.cpp
</set>
<set var="GTK1_HDR" hints="files">
wx/generic/colrdlgg.h
@@ -1327,6 +1388,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="MOTIF_HDR" hints="files">
wx/generic/colrdlgg.h
wx/generic/ctrlsub.h
wx/generic/dirdlgg.h
wx/generic/fdrepdlg.h
wx/generic/fontdlgg.h
@@ -1349,6 +1411,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/motif/colour.h
wx/motif/combobox.h
wx/motif/control.h
wx/motif/ctrlsub.h
wx/motif/cursor.h
wx/motif/dataform.h
wx/motif/dataobj.h
@@ -1385,7 +1448,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/motif/stattext.h
wx/motif/textctrl.h
wx/motif/tglbtn.h
wx/motif/timer.h
wx/motif/toolbar.h
wx/motif/toplevel.h
wx/motif/window.h
@@ -1399,7 +1461,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<set var="X11_LOWLEVEL_SRC" hints="files">
$(XWIN_LOWLEVEL_SRC)
src/common/socketevtdispatch.cpp
src/common/gsocketiohandler.cpp
src/generic/icon.cpp
src/generic/timer.cpp
src/x11/app.cpp
@@ -1487,12 +1549,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/dib.cpp
src/msw/display.cpp
src/msw/enhmeta.cpp
src/msw/evtloop.cpp
src/msw/font.cpp
src/msw/fontenum.cpp
src/msw/fontutil.cpp
src/msw/gdiimage.cpp
src/msw/gdiobj.cpp
src/msw/gdiplus.cpp
src/msw/graphics.cpp
src/msw/gsockmsw.cpp
src/msw/icon.cpp
@@ -1510,7 +1572,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/region.cpp
src/msw/renderer.cpp
src/msw/settings.cpp
src/msw/timer.cpp
src/msw/tooltip.cpp
src/msw/toplevel.cpp
src/msw/utilsgui.cpp
@@ -1580,6 +1641,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/tabctrl.cpp
src/msw/tbar95.cpp
src/msw/textctrl.cpp
src/msw/textentry.cpp
src/msw/tglbtn.cpp
src/msw/treectrl.cpp
</set>
@@ -1602,6 +1664,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/msw/combo.h
wx/msw/combobox.h
wx/msw/control.h
wx/msw/ctrlsub.h
wx/msw/cursor.h
wx/msw/dc.h
wx/msw/dcclient.h
@@ -1661,8 +1724,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/msw/tabctrl.h
wx/msw/tbar95.h
wx/msw/textctrl.h
wx/msw/textentry.h
wx/msw/tglbtn.h
wx/msw/timer.h
wx/msw/tooltip.h
wx/msw/toplevel.h
wx/msw/treectrl.h
@@ -1790,7 +1853,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/generic/icon.h
wx/generic/imaglist.h
wx/generic/mask.h
wx/generic/timer.h
wx/mgl/app.h
wx/mgl/bitmap.h
wx/mgl/brush.h
@@ -1818,7 +1880,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<set var="DFB_LOWLEVEL_SRC" hints="files">
src/common/fontmgrcmn.cpp
src/common/socketevtdispatch.cpp
src/common/gsocketiohandler.cpp
src/generic/caret.cpp
src/generic/colour.cpp
src/generic/icon.cpp
@@ -1838,6 +1900,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/dfb/font.cpp
src/dfb/fontenum.cpp
src/dfb/fontmgr.cpp
src/dfb/nonownedwnd.cpp
src/dfb/overlay.cpp
src/dfb/pen.cpp
src/dfb/region.cpp
@@ -1853,7 +1916,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/generic/icon.h
wx/generic/imaglist.h
wx/generic/mask.h
wx/generic/timer.h
wx/dfb/app.h
wx/dfb/bitmap.h
wx/dfb/brush.h
@@ -1866,7 +1928,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/dfb/dfbptr.h
wx/dfb/evtloop.h
wx/dfb/font.h
wx/dfb/nonownedwnd.h
wx/dfb/pen.h
wx/dfb/popupwin.h
wx/dfb/private.h
wx/dfb/region.h
wx/dfb/toplevel.h
@@ -2036,7 +2100,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/os2/tabctrl.h
wx/os2/textctrl.h
wx/os2/tglbtn.h
wx/os2/timer.h
wx/os2/toolbar.h
wx/os2/tooltip.h
wx/os2/toplevel.h
@@ -2080,6 +2143,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/mac/carbon/accel.cpp
src/mac/carbon/aga.cpp
src/mac/carbon/app.cpp
src/mac/carbon/artmac.cpp
src/mac/carbon/bitmap.cpp
src/mac/carbon/bmpbuttn.cpp
src/mac/carbon/brush.cpp
@@ -2200,7 +2264,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/mac/fontdlg.h
wx/mac/frame.h
wx/mac/gauge.h
wx/mac/glcanvas.h
wx/mac/gsockmac.h
wx/mac/helpxxxx.h
wx/mac/icon.h
@@ -2242,7 +2305,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/mac/tabctrl.h
wx/mac/taskbarosx.h
wx/mac/textctrl.h
wx/mac/timer.h
wx/mac/tglbtn.h
wx/mac/toolbar.h
wx/mac/tooltip.h
@@ -2328,7 +2390,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/mac/carbon/statusbr.h
wx/mac/carbon/tabctrl.h
wx/mac/carbon/textctrl.h
wx/mac/carbon/timer.h
wx/mac/carbon/tglbtn.h
wx/mac/carbon/toolbar.h
wx/mac/carbon/tooltip.h
@@ -2367,6 +2428,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/cocoa/NSMenu.mm
src/cocoa/NSPanel.mm
src/cocoa/NSScroller.mm
src/cocoa/NSSlider.mm
src/cocoa/NSTabView.mm
src/cocoa/NSTableView.mm
src/cocoa/NSTextField.mm
@@ -2399,7 +2461,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/cocoa/drawer.mm
src/cocoa/evtloop.mm
src/cocoa/filedlg.mm
src/cocoa/font.cpp
src/cocoa/font.mm
src/cocoa/fontdlg.mm
src/cocoa/fontenum.mm
src/cocoa/fontutil.cpp
@@ -2432,7 +2494,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/cocoa/toolbar.mm
src/cocoa/tooltip.mm
src/cocoa/toplevel.mm
src/cocoa/utils.cpp
src/cocoa/utils.mm
src/cocoa/utilsexc.mm
src/cocoa/window.mm
<!-- Generic implementations used by wxCocoa: -->
@@ -2457,6 +2519,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/cocoa/NSMenu.h
wx/cocoa/NSPanel.h
wx/cocoa/NSScroller.h
wx/cocoa/NSSlider.h
wx/cocoa/NSTabView.h
wx/cocoa/NSTableView.h
wx/cocoa/NSTextField.h
@@ -2516,10 +2579,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/cocoa/statline.h
wx/cocoa/stattext.h
wx/cocoa/textctrl.h
wx/cocoa/timer.h
wx/cocoa/toolbar.h
wx/cocoa/tooltip.h
wx/cocoa/toplevel.h
wx/cocoa/window.h
<!-- Semi-private headers -->
wx/cocoa/objc/objc_uniquifying.h
<!-- Generic implementations used by wxCocoa: -->
wx/generic/caret.h
wx/generic/fdrepdlg.h
@@ -2597,6 +2662,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="UNIV_HDR" hints="files">
wx/generic/accel.h
wx/generic/ctrlsub.h
wx/generic/dirdlgg.h
wx/generic/fdrepdlg.h
wx/generic/fontdlgg.h
@@ -2640,6 +2706,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/univ/stdrend.h
wx/univ/textctrl.h
wx/univ/theme.h
wx/univ/tglbtn.h
wx/univ/toolbar.h
wx/univ/toplevel.h
wx/univ/window.h
@@ -2652,17 +2719,19 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<set var="ADVANCED_CMN_SRC" hints="files">
src/common/animatecmn.cpp
src/common/datavcmn.cpp
src/common/hyperlnkcmn.cpp
src/generic/aboutdlgg.cpp
src/generic/animateg.cpp
src/generic/bmpcboxg.cpp
src/generic/calctrl.cpp
src/generic/datavgen.cpp
src/generic/datectlg.cpp
src/generic/editlbox.cpp
src/generic/grid.cpp
src/generic/gridctrl.cpp
src/generic/gridsel.cpp
src/generic/helpext.cpp
src/generic/hyperlink.cpp
src/generic/hyperlinkg.cpp
src/generic/laywin.cpp
src/generic/odcombo.cpp
src/generic/propdlg.cpp
@@ -2673,6 +2742,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="ADVANCED_CMN_HDR" hints="files">
wx/aboutdlg.h
wx/animate.h
wx/animdecod.h
wx/bmpcbox.h
@@ -2680,7 +2750,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/dataview.h
wx/dateevt.h
wx/dcbuffer.h
wx/aboutdlg.h
wx/editlbox.h
wx/generic/aboutdlgg.h
wx/generic/animate.h
wx/generic/bmpcbox.h
@@ -2691,6 +2761,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/generic/gridctrl.h
wx/generic/gridsel.h
wx/generic/helpext.h
wx/generic/hyperlink.h
wx/generic/laywin.h
wx/generic/propdlg.h
wx/generic/sashwin.h
@@ -2707,7 +2778,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/splash.h
wx/taskbar.h
wx/tipdlg.h
wx/wave.h
wx/wizard.h
</set>
@@ -2747,12 +2817,16 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/taskbarcmn.cpp
src/mac/carbon/aboutdlg.cpp
src/mac/carbon/drawer.cpp
src/mac/carbon/dataview.cpp
src/mac/carbon/databrow.cpp
src/mac/carbon/sound.cpp
src/mac/carbon/taskbar.cpp
src/mac/corefoundation/hidjoystick.cpp
</set>
<set var="ADVANCED_MAC_HDR" hints="files">
wx/mac/carbon/drawer.h
wx/mac/carbon/dataview.h
wx/mac/carbon/databrow.h
wx/mac/carbon/sound.h
wx/mac/carbon/taskbarosx.h
wx/mac/corefoundation/joystick.h
@@ -2793,11 +2867,13 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/aboutdlg.cpp
src/gtk/animate.cpp
src/gtk/dataview.cpp
src/gtk/hyperlink.cpp
src/gtk/taskbar.cpp
src/gtk/eggtrayicon.c
</set>
<set var="ADVANCED_GTK_HDR" hints="files">
wx/gtk/animate.h
wx/gtk/hyperlink.h
</set>
<set var="ADVANCED_GTK1_SRC" hints="files">
@@ -2969,6 +3045,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/xrc/xh_notbk.cpp
src/xrc/xh_odcombo.cpp
src/xrc/xh_panel.cpp
src/xrc/xh_propdlg.cpp
src/xrc/xh_radbt.cpp
src/xrc/xh_radbx.cpp
<!-- disabled until linking problems are fixed -->
@@ -2980,6 +3057,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/xrc/xh_slidr.cpp
src/xrc/xh_spin.cpp
src/xrc/xh_split.cpp
src/xrc/xh_srchctrl.cpp
src/xrc/xh_statbar.cpp
src/xrc/xh_stbmp.cpp
src/xrc/xh_stbox.cpp
@@ -3029,6 +3107,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/xrc/xh_notbk.h
wx/xrc/xh_odcombo.h
wx/xrc/xh_panel.h
wx/xrc/xh_propdlg.h
wx/xrc/xh_radbt.h
wx/xrc/xh_radbx.h
<!-- wx/xrc/xh_richtext.h -->
@@ -3039,6 +3118,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/xrc/xh_slidr.h
wx/xrc/xh_spin.h
wx/xrc/xh_split.h
wx/xrc/xh_srchctrl.h
wx/xrc/xh_statbar.h
wx/xrc/xh_stbmp.h
wx/xrc/xh_stbox.h
@@ -3075,30 +3155,51 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- OpenGL canvas -->
<!-- ====================================================================== -->
<set var="OPENGL_SRC" hints="files">
<set var="OPENGL_SRC_PLATFORM" hints="files">
src/common/glcmn.cpp
<if cond="TOOLKIT=='MAC'">src/mac/carbon/glcanvas.cpp</if>
<if cond="TOOLKIT=='COCOA'">src/cocoa/glcanvas.mm</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION=='2'">src/gtk/glcanvas.cpp</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION==''">src/gtk1/glcanvas.cpp</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION=='2'">
src/gtk/glcanvas.cpp
src/unix/glx11.cpp
</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION==''">
src/gtk1/glcanvas.cpp
src/unix/glx11.cpp
</if>
<if cond="TOOLKIT=='MSW'">src/msw/glcanvas.cpp</if>
<if cond="TOOLKIT=='WINCE'">src/msw/glcanvas.cpp</if>
<if cond="TOOLKIT=='MOTIF'">src/x11/glcanvas.cpp</if>
<if cond="TOOLKIT=='X11'">src/x11/glcanvas.cpp</if>
<if cond="TOOLKIT=='MOTIF'">src/x11/glcanvas.cpp src/unix/glx11.cpp</if>
<if cond="TOOLKIT=='X11'">src/x11/glcanvas.cpp src/unix/glx11.cpp</if>
<if cond="TOOLKIT=='PM'">src/os2/glcanvas.cpp</if>
</set>
<set var="OPENGL_HDR" hints="files">
<if cond="TOOLKIT=='MAC'">wx/mac/carbon/glcanvas.h</if>
<if cond="TOOLKIT=='COCOA'">wx/cocoa/glcanvas.h</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION=='2'">wx/gtk/glcanvas.h</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION==''">wx/gtk1/glcanvas.h</if>
<if cond="TOOLKIT=='MSW'">wx/msw/glcanvas.h</if>
<if cond="TOOLKIT=='WINCE'">wx/msw/glcanvas.h</if>
<if cond="TOOLKIT=='MOTIF'">wx/x11/glcanvas.h</if>
<if cond="TOOLKIT=='X11'">wx/x11/glcanvas.h</if>
<if cond="TOOLKIT=='PM'">wx/os2/glcanvas.h</if>
<set var="OPENGL_SRC" hints="files">
src/common/glcmn.cpp
$(OPENGL_SRC_PLATFORM)
</set>
<set var="OPENGL_HDR_PLATFORM" hints="files">
<if cond="TOOLKIT=='MAC'">wx/mac/glcanvas.h wx/mac/carbon/glcanvas.h</if>
<if cond="TOOLKIT=='COCOA'">wx/cocoa/glcanvas.h</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION=='2'">
wx/gtk/glcanvas.h
wx/unix/glx11.h
</if>
<if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION==''">
wx/gtk1/glcanvas.h
wx/unix/glx11.h
</if>
<if cond="TOOLKIT=='MSW'">wx/msw/glcanvas.h</if>
<if cond="TOOLKIT=='WINCE'">wx/msw/glcanvas.h</if>
<if cond="TOOLKIT=='MOTIF'">wx/x11/glcanvas.h wx/unix/glx11.h</if>
<if cond="TOOLKIT=='X11'">wx/x11/glcanvas.h wx/unix/glx11.h</if>
</set>
<set var="OPENGL_HDR" hints="files">
wx/glcanvas.h
$(OPENGL_HDR_PLATFORM)
</set>
<!-- ====================================================================== -->
@@ -3178,6 +3279,21 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/richtext/richtextprint.h
</set>
<!-- ====================================================================== -->
<!-- wxSTC -->
<!-- ====================================================================== -->
<set var="STC_SRC" hints="files">
src/stc/stc.cpp
src/stc/PlatWX.cpp
src/stc/ScintillaWX.cpp
</set>
<set var="STC_HDR" hints="files">
wx/stc/stc.h
</set>
<!-- ====================================================================== -->
<!-- Define sources for specific libraries: -->
<!-- ====================================================================== -->
@@ -3414,6 +3530,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(GUI_CORE_HEADERS)
$(ADVANCED_HDR) $(MEDIA_HDR) $(HTML_HDR)
$(OPENGL_HDR) $(QA_HDR) $(DBGRID_HDR) $(XRC_HDR) $(AUI_HDR) $(RICHTEXT_HDR)
$(STC_HDR)
</if>
</set>

View File

@@ -1,13 +1,6 @@
<?xml version="1.0" ?>
<bakefile-manifest>
<format id="wx24dsp">
<description>
src/wxWindows.dsp which makes same files as 2.4 version
</description>
<default-filename>wxWindows.dsp</default-filename>
</format>
<format id="rpmspec">
<description>
@@ -15,14 +8,5 @@
</description>
<default-filename>xxx.spec</default-filename>
</format>
<format id="cbx_unix">
<description>
C++BuilderX projects for Unix (use configure)
</description>
<default-filename>
$(os.path.splitext(os.path.basename(INPUT_FILE))[0])Unix.cbx
</default-filename>
</format>
</bakefile-manifest>

View File

@@ -1,6 +1,4 @@
This directory contains misc Bakefile backends that are wxWidgets-specific:
wx24dsp - generates wx2.4-compatible VC++ project file (src/wxWindows.dsp)
rpmspec - generates part of .spec files with list of wxBase headers
cbx_unix - Borland C++BuilderX project files for configure-based build

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<include file="presets/fake.bkl"/>
<set var="COMPILER">vc</set>
<define-tag name="__fake_hook" rules="__fake">
<set var="type" overwrite="0">fake</set>
</define-tag>
<define-tag name="__fake_hook" rules="exe">
<set var="type">exe</set>
</define-tag>
<output file="$(OUTPUT_FILE)" writer="cbx_unix.empy"/>
<set var="FORMAT_OUTPUT_VARIABLES">type</set>
</makefile>

View File

@@ -1,77 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--C++BuilderX Project-->
<project>
<property category="build.config" name="active" value="0"/>
<property category="build.config" name="count" value="1"/>
<property category="build.config" name="excludedefaultforzero" value="0"/>
<property category="build.config.0" name="builddir" value="Debug"/>
<property category="build.config.0" name="key" value="Debug_Build"/>
<property category="build.config.0" name="name" value="Debug Build"/>
<property category="build.config.0" name="settings.MinGW" value="default;debug"/>
<property category="build.config.0" name="settings.gnuc++" value="default;debug"/>
<property category="build.config.0" name="settings.intellinia32" value="default;debug"/>
<property category="build.config.0" name="settings.mswin32" value="default;debug"/>
<property category="build.config.0" name="type" value="Toolset"/>
<property category="build.config.1" name="key" value="Release_Build"/>
<property category="build.config.1" name="name" value="Release Build"/>
<property category="build.config.1" name="settings.MinGW" value="default;release"/>
<property category="build.config.1" name="settings.gnuc++" value="default;release"/>
<property category="build.config.1" name="settings.intellinia32" value="default;release"/>
<property category="build.config.1" name="settings.mswin32" value="default;release"/>
<property category="build.config.1" name="type" value="Toolset"/>
<property category="build.node" name="type" value="CBMakefileProjectType"/>
<property category="build.platform" name="active" value="linux"/>
<property category="build.platform" name="linux.Debug_Build.toolset" value="gnuc++"/>
<property category="build.platform" name="linux.Release_Build.toolset" value="gnuc++"/>
<property category="build.platform" name="linux.default" value="gnuc++"/>
<property category="build.platform" name="linux.gnuc++.enabled" value="1"/>
<property category="build.platform" name="linux.mswin32.enabled" value="0"/>
<property category="build.platform" name="linux.win32b.enabled" value="0"/>
<property category="build.platform" name="solaris.default" value="gnuc++"/>
<property category="build.platform" name="solaris.enabled" value="0"/>
<property category="build.platform" name="win32.default" value="MinGW"/>
<property category="build.platform" name="win32.enabled" value="0"/>
<property category="cbproject" name="lastnodeid" value="4"/>
<property category="cbproject" name="version" value="X.1.0"/>
<property category="classbrowser" name="enable" value="0"/>
<property category="classbrowser" name="parser.cpp.skip_standard_directories" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.arg.1" value="/usr/include"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.arg.2" value="/usr/include/g++-3"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.MD.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.O0.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.c.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.g.arg" value="2"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.g.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.o.enabled" value="1"/>
<property category="linux.Debug_Build.gnuc++.g++link" name="option.o.enabled" value="1"/>
<property category="linux.gnuc++.Debug_Build" name="saved" value="1"/>
<property category="makefileproject" name="makefile.ID.1" value="1"/>
<property category="makefileproject" name="makefile.list.1" value="Makefile"/>
<property category="makefiletarget" name="makefile.1.params" value="-f Makefile"/>
<property category="makefiletarget" name="makefile.1.target.list.1" value="all"/>
<property category="makefiletarget" name="makefile.1.target.list.2" value="clean"/>
<property category="runtime" name="ConfigurationCount" value="@(len([t for t in targets if t.type=='exe'])-1)"/>
@{
ALL_EXES = [x for x in targets if x.type=='exe']
if len(ALL_EXES) == 1:
DEFAULT_EXE = 0
else:
DEFAULT_EXE = -1
}@
<property category="runtime" name="DefaultConfiguration" value="@DEFAULT_EXE"/>
@[for i in range(0,len(ALL_EXES))]@
<property category="runtime.@i" name="BuildTargetOnRun" value="com.borland.cbuilder.build.CBProjectBuilder$ProjectBuildAction;make"/>
<property category="runtime.@i" name="ConfigurationName" value="@ALL_EXES[i].id"/>
<property category="runtime.@i" name="RunnableType" value="com.borland.cbuilder.runtime.ExecutableRunner"/>
<property category="runtime.@i" name="native.exec.path" value="./@ALL_EXES[i].id"/>
<property category="runtime.@i" name="native.startdir.path" value="."/>
<property category="runtime.@i" name="native.target.override" value="1"/>
@[end for]@
<property category="unique" name="id" value="4"/>
<node name="console" type="NavigationDirectory">
<property category="directorynode" name="showSubdirectories" value="1"/>
<property category="directorynode" name="url" value="."/>
<property category="unique" name="id" value="1"/>
</node>
</project>

View File

@@ -15,6 +15,7 @@ COMMDIR = $(WXDIR)/src/common
HTMLDIR = $(WXDIR)/src/html
RICHTEXTDIR = $(WXDIR)/src/richtext
AUIDIR = $(WXDIR)/src/aui
STCDIR = $(WXDIR)/src/stc
UNIXDIR = $(WXDIR)/src/unix
PNGDIR = $(WXDIR)/src/png
JPEGDIR = $(WXDIR)/src/jpeg
@@ -166,6 +167,7 @@ ALL_GUI_DIST: ALL_DIST
mkdir $(DISTDIR)/include/wx/html
mkdir $(DISTDIR)/include/wx/richtext
mkdir $(DISTDIR)/include/wx/aui
mkdir $(DISTDIR)/include/wx/stc
mkdir $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/include/wx/xml
@@ -176,6 +178,7 @@ ALL_GUI_DIST: ALL_DIST
$(CP_P) $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
$(CP_P) $(INCDIR)/wx/richtext/*.h $(DISTDIR)/include/wx/richtext
$(CP_P) $(INCDIR)/wx/aui/*.h $(DISTDIR)/include/wx/aui
$(CP_P) $(INCDIR)/wx/stc/*.h $(DISTDIR)/include/wx/stc
$(CP_P) $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
$(CP_P) $(INCDIR)/wx/xml/*.h $(DISTDIR)/include/wx/xml
$(CP_P) $(INCDIR)/wx/xrc/*.h $(DISTDIR)/include/wx/xrc
@@ -190,6 +193,7 @@ ALL_GUI_DIST: ALL_DIST
mkdir $(DISTDIR)/src/html
mkdir $(DISTDIR)/src/richtext
mkdir $(DISTDIR)/src/aui
mkdir $(DISTDIR)/src/stc
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
mkdir $(DISTDIR)/src/png
mkdir $(DISTDIR)/src/jpeg
@@ -208,6 +212,7 @@ ALL_GUI_DIST: ALL_DIST
$(CP_P) $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
$(CP_P) $(RICHTEXTDIR)/*.cpp $(DISTDIR)/src/richtext
$(CP_P) $(AUIDIR)/*.cpp $(DISTDIR)/src/aui
$(CP_P) $(STCDIR)/*.cpp $(DISTDIR)/src/stc
$(CP_P) $(PNGDIR)/*.h $(DISTDIR)/src/png
$(CP_P) $(PNGDIR)/*.c $(DISTDIR)/src/png
$(CP_P) $(PNGDIR)/README $(DISTDIR)/src/png
@@ -235,6 +240,7 @@ BASE_DIST: ALL_DIST INTL_DIST
mkdir $(DISTDIR)/include/wx/html
mkdir $(DISTDIR)/include/wx/richtext
mkdir $(DISTDIR)/include/wx/aui
mkdir $(DISTDIR)/include/wx/stc
mkdir $(DISTDIR)/include/wx/mac
mkdir $(DISTDIR)/include/wx/mac/carbon
mkdir $(DISTDIR)/include/wx/mac/corefoundation
@@ -251,7 +257,6 @@ BASE_DIST: ALL_DIST INTL_DIST
mkdir $(DISTDIR)/src/palmos
$(CP_P) $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
$(CP_P) $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
$(CP_P) $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
list='$(ALL_PORTS_BASE_HEADERS)'; for p in $$list; do \
$(CP_P) $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
done

View File

@@ -5,7 +5,7 @@
<set var="MONOLIB_GUI_SRC">
<if cond="USE_GUI=='1'">
$(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(ODBC_SRC) $(QA_SRC)
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC)
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC) $(STC_SRC)
</if>
</set>
<set var="MONOLIB_SRC">
@@ -22,6 +22,13 @@
<ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
<ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
<!-- STC stuff, should this be conditionalized? -->
<include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
<include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
<define>__WX__</define>
<define>SCI_LEXER</define>
<define>LINK_LEXERS</define>
<library>$(wxscintilla_library_link)</library>
</dll>
<lib id="monolib" template="wx_lib"
@@ -32,6 +39,12 @@
<if cond="FORMAT=='watcom'">
<set var="LIB_PAGESIZE" overwrite="1">8192</set>
</if>
<!-- STC stuff, should this be conditionalized? -->
<include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
<include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
<define>__WX__</define>
<define>SCI_LEXER</define>
<define>LINK_LEXERS</define>
</lib>

View File

@@ -3,6 +3,20 @@
<makefile>
<define-rule name="wxshortcut" extends="phony">
<template>
<set var="name">$(id.replace('wx',''))</set>
<set var="namedll">
<if cond="SHARED=='1'">$(name)dll</if>
</set>
<set var="namelib">
<if cond="SHARED=='0'">$(name)lib</if>
</set>
<depends>$(namedll)</depends>
<depends>$(namelib)</depends>
</template>
</define-rule>
<!-- ================================================================= -->
<!-- wxBase library -->
<!-- ================================================================= -->
@@ -22,6 +36,8 @@
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxbase" cond="MONOLITHIC=='0'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">base=baselib+basedll</set>
@@ -44,6 +60,8 @@
<msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxnet" cond="MONOLITHIC=='0'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set>
@@ -68,6 +86,8 @@
<msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
</lib>
<wxshortcut id="wxcore" cond="MONOLITHIC=='0' and USE_GUI=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set>
@@ -92,6 +112,8 @@
<msvc-headers>$(ADVANCED_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxadv" cond="MONOLITHIC=='0' and USE_GUI=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
@@ -115,6 +137,8 @@
<msvc-headers>$(MEDIA_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxmedia" cond="MONOLITHIC=='0' and USE_GUI=='1' and USE_MEDIA=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
@@ -138,7 +162,6 @@
<msvc-headers>$(ODBC_HDR)</msvc-headers>
</lib>
<dll id="dbgriddll" template="wx_dll"
cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
@@ -157,6 +180,9 @@
<msvc-headers>$(DBGRID_HDR)</msvc-headers>
</lib>
<!-- <wxshortcut id="wxodbc" cond="MONOLITHIC=='0' and USE_ODBC=='1'"/> -->
<wxshortcut id="wxdbgrid" cond="MONOLITHIC=='0' and USE_GUI=='1' and USE_ODBC=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
@@ -176,12 +202,19 @@
<msvc-headers>$(HTML_HDR)</msvc-headers>
</dll>
<!-- use this to conditonally link against htmldll with <library>: -->
<set var="htmldll_library_link">
<if cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">htmldll</if>
</set>
<lib id="htmllib" template="wx_lib"
cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
<sources>$(HTML_SRC)</sources>
<msvc-headers>$(HTML_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxhtml" cond="MONOLITHIC=='0' and USE_HTML=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
<!-- ================================================================ -->
@@ -214,6 +247,8 @@
<msvc-headers>$(QA_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxqa" cond="MONOLITHIC=='0' and USE_QA=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">qa=qalib+qadll</set>
<!-- ================================================================ -->
@@ -236,6 +271,8 @@
<msvc-headers>$(XML_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxxml" cond="MONOLITHIC=='0'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
<!-- ================================================================ -->
@@ -247,7 +284,7 @@
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_XRC</define>
<sources>$(XRC_SRC)</sources>
<library>htmldll</library>
<library>$(htmldll_library_link)</library>
<library>advdll</library>
<library>coredll</library>
<library>xmldll</library>
@@ -261,6 +298,8 @@
<msvc-headers>$(XRC_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxxrc" cond="MONOLITHIC=='0' and USE_XRC=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
<!-- ================================================================ -->
@@ -283,6 +322,8 @@
<sources>$(AUI_SRC)</sources>
<msvc-headers>$(AUI_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxaui" cond="MONOLITHIC=='0' and USE_AUI=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set>
@@ -296,7 +337,7 @@
<define>WXMAKINGDLL_RICHTEXT</define>
<sources>$(RICHTEXT_SRC)</sources>
<library>advdll</library>
<library>htmldll</library>
<library>$(htmldll_library_link)</library>
<library>xmldll</library>
<library>coredll</library>
<library>basedll</library>
@@ -308,7 +349,43 @@
<sources>$(RICHTEXT_SRC)</sources>
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxrichtext" cond="MONOLITHIC=='0' and USE_RICHTEXT=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set>
<!-- ================================================================ -->
<!-- STC -->
<!-- ================================================================ -->
<template id="stc_base">
<include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
<include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
<define>__WX__</define>
<define>SCI_LEXER</define>
<define>LINK_LEXERS</define>
<cppflags-borland>-w-8027</cppflags-borland>
<library>wxscintilla</library>
</template>
<dll id="stcdll" template="wx_dll,stc_base"
cond="SHARED=='1' and USE_STC=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_STC</define>
<sources>$(STC_SRC)</sources>
<library>coredll</library>
<library>basedll</library>
<msvc-headers>$(STC_HDR)</msvc-headers>
</dll>
<lib id="stclib" template="wx_lib,stc_base"
cond="SHARED=='0' and USE_STC=='1' and MONOLITHIC=='0'">
<sources>$(STC_SRC)</sources>
<msvc-headers>$(STC_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxstc" cond="MONOLITHIC=='0' and USE_STC=='1'"/>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">stc=stclib+stcdll</set>
</makefile>

View File

@@ -38,4 +38,6 @@
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxgl" cond="USE_GUI=='1' and USE_OPENGL=='1'"/>
</makefile>

View File

@@ -0,0 +1,116 @@
<?xml version="1.0" ?>
<makefile>
<if cond="FORMAT=='autoconf'">
<set var="LIB_SCINTILLA">
wxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
</set>
</if>
<if cond="FORMAT!='autoconf'">
<set var="LIB_SCINTILLA">
wxscintilla$(WXDEBUGFLAG)$(HOST_SUFFIX)
</set>
</if>
<set var="INC_SCINTILLA">
$(TOP_SRCDIR)src/stc/scintilla/include
</set>
<lib id="wxscintilla" template="3rdparty_lib"
cond="USE_STC=='1' and BUILDING_LIB=='1'">
<include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
<include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
<define>__WX__</define>
<define>SCI_LEXER</define>
<define>LINK_LEXERS</define>
<dirname>$(LIBDIRNAME)</dirname>
<sources>
src/stc/scintilla/src/AutoComplete.cxx
src/stc/scintilla/src/CallTip.cxx
src/stc/scintilla/src/CellBuffer.cxx
src/stc/scintilla/src/CharClassify.cxx
src/stc/scintilla/src/ContractionState.cxx
src/stc/scintilla/src/Document.cxx
src/stc/scintilla/src/DocumentAccessor.cxx
src/stc/scintilla/src/Editor.cxx
src/stc/scintilla/src/ExternalLexer.cxx
src/stc/scintilla/src/Indicator.cxx
src/stc/scintilla/src/KeyMap.cxx
src/stc/scintilla/src/KeyWords.cxx
src/stc/scintilla/src/LexAPDL.cxx
src/stc/scintilla/src/LexAU3.cxx
src/stc/scintilla/src/LexAVE.cxx
src/stc/scintilla/src/LexAda.cxx
src/stc/scintilla/src/LexAsm.cxx
src/stc/scintilla/src/LexAsn1.cxx
src/stc/scintilla/src/LexBaan.cxx
src/stc/scintilla/src/LexBash.cxx
src/stc/scintilla/src/LexBasic.cxx
src/stc/scintilla/src/LexBullant.cxx
src/stc/scintilla/src/LexCLW.cxx
src/stc/scintilla/src/LexCPP.cxx
src/stc/scintilla/src/LexCSS.cxx
src/stc/scintilla/src/LexCaml.cxx
src/stc/scintilla/src/LexCsound.cxx
src/stc/scintilla/src/LexConf.cxx
src/stc/scintilla/src/LexCrontab.cxx
src/stc/scintilla/src/LexEScript.cxx
src/stc/scintilla/src/LexEiffel.cxx
src/stc/scintilla/src/LexErlang.cxx
src/stc/scintilla/src/LexFlagship.cxx
src/stc/scintilla/src/LexForth.cxx
src/stc/scintilla/src/LexFortran.cxx
src/stc/scintilla/src/LexGui4Cli.cxx
src/stc/scintilla/src/LexHTML.cxx
src/stc/scintilla/src/LexHaskell.cxx
src/stc/scintilla/src/LexInno.cxx
src/stc/scintilla/src/LexKix.cxx
src/stc/scintilla/src/LexLisp.cxx
src/stc/scintilla/src/LexLout.cxx
src/stc/scintilla/src/LexLua.cxx
src/stc/scintilla/src/LexMMIXAL.cxx
src/stc/scintilla/src/LexMPT.cxx
src/stc/scintilla/src/LexMSSQL.cxx
src/stc/scintilla/src/LexMatlab.cxx
src/stc/scintilla/src/LexMetapost.cxx
src/stc/scintilla/src/LexNsis.cxx
src/stc/scintilla/src/LexOpal.cxx
src/stc/scintilla/src/LexOthers.cxx
src/stc/scintilla/src/LexPB.cxx
src/stc/scintilla/src/LexPOV.cxx
src/stc/scintilla/src/LexPS.cxx
src/stc/scintilla/src/LexPascal.cxx
src/stc/scintilla/src/LexPerl.cxx
src/stc/scintilla/src/LexPython.cxx
src/stc/scintilla/src/LexRebol.cxx
src/stc/scintilla/src/LexRuby.cxx
src/stc/scintilla/src/LexSQL.cxx
src/stc/scintilla/src/LexSmalltalk.cxx
src/stc/scintilla/src/LexTADS3.cxx
src/stc/scintilla/src/LexScriptol.cxx
src/stc/scintilla/src/LexSpecman.cxx
src/stc/scintilla/src/LexSpice.cxx
src/stc/scintilla/src/LexTCL.cxx
src/stc/scintilla/src/LexTeX.cxx
src/stc/scintilla/src/LexVB.cxx
src/stc/scintilla/src/LexVHDL.cxx
src/stc/scintilla/src/LexVerilog.cxx
src/stc/scintilla/src/LexYAML.cxx
src/stc/scintilla/src/LineMarker.cxx
src/stc/scintilla/src/PropSet.cxx
src/stc/scintilla/src/RESearch.cxx
src/stc/scintilla/src/ScintillaBase.cxx
src/stc/scintilla/src/Style.cxx
src/stc/scintilla/src/StyleContext.cxx
src/stc/scintilla/src/UniConversion.cxx
src/stc/scintilla/src/ViewStyle.cxx
src/stc/scintilla/src/WindowAccessor.cxx
src/stc/scintilla/src/XPM.cxx
</sources>
</lib>
<!-- use this to conditonally link against wxscintilla with <library>: -->
<set var="wxscintilla_library_link">
<if cond="USE_STC=='1' and BUILDING_LIB=='1'">wxscintilla</if>
</set>
</makefile>

View File

@@ -23,18 +23,24 @@
</if>
</set>
</if>
<set var="INC_TIFF_BUILD"></set>
<if cond="FORMAT=='autoconf'">
<set var="INC_TIFF_BUILD">
<if cond="wxUSE_LIBTIFF=='builtin'">$(wx_top_builddir)/src/tiff/libtiff</if>
</set>
</if>
<set var="INC_TIFF">
<if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
<if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff/libtiff</if>
</set>
<set var="TIFF_PLATFORM_SRC">
<if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
<if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
<if cond="PLATFORM_OS2=='1' and FORMAT!='watcom'">src/tiff/tif_unix.c</if>
<if cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">src/tiff/tif_os2.c</if>
<if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
<if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
<if cond="PLATFORM_MSDOS=='1'">src/tiff/tif_msdos.c</if>
<if cond="PLATFORM_UNIX=='1'">src/tiff/libtiff/tif_unix.c</if>
<if cond="PLATFORM_MACOSX=='1'">src/tiff/libtiff/tif_unix.c</if>
<if cond="PLATFORM_OS2=='1'">src/tiff/libtiff/tif_unix.c</if>
<if cond="PLATFORM_WIN32=='1'">src/tiff/libtiff/tif_win32.c</if>
<if cond="PLATFORM_MACOS=='1'">src/tiff/libtiff/tif_apple.c</if>
<if cond="PLATFORM_MSDOS=='1'">src/tiff/libtiff/tif_msdos.c</if>
</set>
<lib id="wxtiff" template="3rdparty_lib"
@@ -42,6 +48,8 @@
<dirname>$(LIBDIRNAME)</dirname>
<include>$(INC_ZLIB)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_TIFF_BUILD)</include>
<include>$(INC_TIFF)</include>
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
<cflags-dmars>-w2</cflags-dmars>
<cflags-watcom>-wcd=124</cflags-watcom>
@@ -49,40 +57,41 @@
<define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
<sources>
$(TIFF_PLATFORM_SRC)
src/tiff/tif_aux.c
src/tiff/tif_close.c
src/tiff/tif_codec.c
src/tiff/tif_color.c
src/tiff/tif_compress.c
src/tiff/tif_dir.c
src/tiff/tif_dirinfo.c
src/tiff/tif_dirread.c
src/tiff/tif_dirwrite.c
src/tiff/tif_dumpmode.c
src/tiff/tif_error.c
src/tiff/tif_extension.c
src/tiff/tif_fax3.c
src/tiff/tif_fax3sm.c
src/tiff/tif_getimage.c
src/tiff/tif_jpeg.c
src/tiff/tif_flush.c
src/tiff/tif_lzw.c
src/tiff/tif_luv.c
src/tiff/tif_next.c
src/tiff/tif_open.c
src/tiff/tif_packbits.c
src/tiff/tif_pixarlog.c
src/tiff/tif_predict.c
src/tiff/tif_print.c
src/tiff/tif_read.c
src/tiff/tif_swab.c
src/tiff/tif_strip.c
src/tiff/tif_thunder.c
src/tiff/tif_tile.c
src/tiff/tif_version.c
src/tiff/tif_warning.c
src/tiff/tif_write.c
src/tiff/tif_zip.c
src/tiff/libtiff/tif_aux.c
src/tiff/libtiff/tif_close.c
src/tiff/libtiff/tif_codec.c
src/tiff/libtiff/tif_color.c
src/tiff/libtiff/tif_compress.c
src/tiff/libtiff/tif_dir.c
src/tiff/libtiff/tif_dirinfo.c
src/tiff/libtiff/tif_dirread.c
src/tiff/libtiff/tif_dirwrite.c
src/tiff/libtiff/tif_dumpmode.c
src/tiff/libtiff/tif_error.c
src/tiff/libtiff/tif_extension.c
src/tiff/libtiff/tif_fax3.c
src/tiff/libtiff/tif_fax3sm.c
src/tiff/libtiff/tif_flush.c
src/tiff/libtiff/tif_getimage.c
src/tiff/libtiff/tif_jpeg.c
src/tiff/libtiff/tif_luv.c
src/tiff/libtiff/tif_lzw.c
src/tiff/libtiff/tif_next.c
src/tiff/libtiff/tif_ojpeg.c
src/tiff/libtiff/tif_open.c
src/tiff/libtiff/tif_packbits.c
src/tiff/libtiff/tif_pixarlog.c
src/tiff/libtiff/tif_predict.c
src/tiff/libtiff/tif_print.c
src/tiff/libtiff/tif_read.c
src/tiff/libtiff/tif_strip.c
src/tiff/libtiff/tif_swab.c
src/tiff/libtiff/tif_thunder.c
src/tiff/libtiff/tif_tile.c
src/tiff/libtiff/tif_version.c
src/tiff/libtiff/tif_warning.c
src/tiff/libtiff/tif_write.c
src/tiff/libtiff/tif_zip.c
</sources>
</lib>

View File

@@ -24,7 +24,7 @@
<!-- ...and when there are multiple libraries: -->
<include file="multilib.bkl"/>
<if cond="FORMAT in ['msvc6prj','msevc4prj']">
<if cond="FORMAT in ['msvc6prj','msevc4prj','msvs2005prj']">
<set var="MSVC6PRJ_MERGED_TARGETS">
<if cond="MONOLITHIC=='0'">$(MSVC6PRJ_MERGED_TARGETS_MULTILIB)</if>
<if cond="MONOLITHIC=='1'">$(MSVC6PRJ_MERGED_TARGETS_MONOLIB)</if>

View File

@@ -112,7 +112,6 @@ would like to build, separated by commas. Valid values are:
autoconf GNU autoconf Makefile.in files
borland Borland C/C++ makefiles
cbuilderx C++ Builder X project files
dmars Digital Mars makefiles
dmars_smake Digital Mars makefiles for SMAKE
gnu GNU toolchain makefiles (Unix)

View File

@@ -0,0 +1,64 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([libsample],[1.2.5],[vslavik@fastmail.fm])
AC_CONFIG_SRCDIR([libsample.cpp])
dnl ---------------------------------------------------------------------------
dnl DEFINE CONFIGURE OPTIONS
dnl ---------------------------------------------------------------------------
dnl define all the wx-config related options
dnl (i.e. --with-wxdir, --with-wx-config, --with-wx-prefix, --with-wx-exec-prefix)
WX_CONFIG_OPTIONS
dnl define all the wxpresets related options
WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared])
dnl ---------------------------------------------------------------------------
dnl CONFIGURE CHECKS
dnl ---------------------------------------------------------------------------
dnl these checks are required by bakefile:
AC_CANONICAL_SYSTEM
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CXXCPP
dnl we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE
WX_DEBUG=$DEBUG
WX_UNICODE=$UNICODE
dnl the following macros will search for the best matching wxWidgets build
dnl (taking in count the values of the --enable-debug|unicode|shared and of
dnl the --with-toolkit|wxshared options) and then set appropriately all the
dnl WX_* options
WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[core,base],[$WXCONFIG_FLAGS])
WX_DETECT_STANDARD_OPTION_VALUES
dnl here all WX_* option values are available for your own processing...
dnl ---------------------------------------------------------------------------
dnl CONFIGURE END
dnl ---------------------------------------------------------------------------
AC_BAKEFILE([m4_include(autoconf_inc.m4)])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
dnl show a nice summary of the chosen build settings to the user
WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN
WX_STANDARD_OPTIONS_SUMMARY_MSG_END

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<!-- a typical nice feature which wxpresets make available to wx-based programs
is to allow the user to build with different configurations those programs;
this is achieved in few fundamental steps:
1) set a different BUILDDIR for different build configurations
2) set different output dirs for the libraries built with a
different shared/static setting
3) set different output names for the libraries built with
different unicode/ansi and release/debug settings
-->
<include file="presets/wx.bkl"/>
<!-- the following line implements step #1: -->
<set-wxlike-builddir/>
<!-- through the use of the 'wx-lib' and 'wxlike' templates, we'll get
the ability to compile against any wxWidgets build using, for our
program, the same configuration of the selected wxWidgets build.
-->
<template id="my" template="wx-lib,wxlike">
<!-- wxlike-dirname implements step #2 (see initial comment) -->
<wxlike-dirname>lib</wxlike-dirname>
<sources>libsample.cpp</sources>
</template>
<lib id="static" template="my" cond="WX_SHARED=='0'">
<!-- wxlike-libname implements step #3 (see initial comment) -->
<wxlike-libname prefix='sample'>test</wxlike-libname>
</lib>
<dll id="shared" template="my" cond="WX_SHARED=='1'">
<!-- wxlike-dllname does step #3 (see initial comment) -->
<wxlike-dllname prefix='sample'>test</wxlike-dllname>
<define>WXMAKINGDLL_LIBSAMPLE</define>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</dll>
</makefile>

View File

@@ -0,0 +1,41 @@
/////////////////////////////////////////////////////////////////////////////
// Name: libsample.cpp
// Purpose: The source of a dummy sample wx-based library
// Author: Francesco Montorsi
// Modified by:
// Created: 26/11/06
// RCS-ID: $Id$
// Copyright: (c) Francesco Montorsi
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
// declarations
// ============================================================================
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// for all others, include the necessary headers (this file is usually all you
// need because it includes almost all "standard" wxWindows headers)
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
// ============================================================================
// implementation
// ============================================================================
void MyUtilityFunction()
{
wxPrintf(wxT("Hello world!\n"));
fflush(stdout);
}

View File

@@ -4,25 +4,133 @@
<!--
Presets for building wxWidgets applications.
FIXME: docs
These presets provide the following "public" interface:
OPTIONS:
- WX_* : used to let the user of the generated makefile choose a wxWidgets
build among those available; you can use them in your project to
e.g. build a target only if WX_DEBUG is 0 or if WX_PORT is "msw".
VARIABLES:
- WXLIBPOSTFIX: contains the [u][d] string which is typically useful when
defining names of directories/files which should coexist
with other builds using different wxWidgets configurations.
TEMPLATES:
- wx, wx-lib: templates to be used respectively for <dll>/<exe> and <lib>
targets; they add all the wxWidgets-related settings (e.g. the
include and library search paths, the __WXDEBUG__ symbol, etc)
- wxconsole: to be used when building console-only libraries or apps
(adds the wxUSE_GUI=0 define).
- wxlike: this template should be combined with "wx" or "wx-lib" and will
make your project build with the same Unicode, debug & shared
config as the wxWidgets build selected using the WX_* options.
TARGET TAGS:
- <wx-lib>: to define which wxWidgets libraries to link with;
please note that you should use them in the right order or
linking under Unix would result in errors, e.g.
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
is correct, but the reverse is not (if lib A depends on lib B, then
lib A must be listed before B). So <wx-lib>base</wx-lib>
(which must always be present) should be the last wx-lib tag.
- <wxlike-libname>,
<wxlike-dllname>: useful if you want to have a build logic similar to the
wxWidgets build logic which allows different builds to
coexist without conflicts. These tags helps you to name
libraries using the same wxWidgets rules and thus avoid
conflicts between libraries compiled in e.g. Unicode,
shared mode and those compiled in ANSI, shared mode &c.
- <wxlike-lib>: if your library/application needs to link with both
wxWidgets and some other wx-based library, which in turn
follows the wxWidgets naming conventions, then this tag is
what you need to reference the wx-based additional library.
- <wxlike-dirname>: sets the output directory for the current target to $(value)
when on Unix and to e.g. $(value)/vc_lib when on Windows,
i.e. acts like <dirname> just following wxWidgets naming rules.
Useful to allow multiple builds of the
- <wxlike-paths>: if your library/application needs to compile & link with both
wxWidgets and some other wx-based library, which in turn
follows the wxWidgets naming conventions, then this tag is
what you need to add to the compiler and linker flags the paths
of the "include" and "lib" folders of the wx-based additional library.
GLOBAL TAGS:
- <set-wxlike-builddir>: sets BUILDDIR using wxWidgets naming rules to help
to keep object files compiled with different
settings separate.
- <set-wxlike>: sets a variable with the name of a library named with the same
wxWidgets rules.
NOTE: as a reference here is a list of all wxWidgets libraries satisfying
the dependency constraints mentioned in <wx-lib> description:
<wx-lib>richtext</wx-lib>
<wx-lib>aui</wx-lib>
<wx-lib>stc</wx-lib>
<wx-lib>qa</wx-lib>
<wx-lib>dbgrid</wx-lib>
<wx-lib>gl</wx-lib>
<wx-lib>odbc</wx-lib>
<wx-lib>xrc</wx-lib>
<wx-lib>html</wx-lib>
<wx-lib>media</wx-lib>
<wx-lib>adv</wx-lib>
<wx-lib>net</wx-lib>
<wx-lib>xml</wx-lib>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
-->
<makefile>
<!-- this variable identifies the version of the wx presets.
this is changed only when major changes to wxpresets take place. -->
<set var="WX_PRESETS_VERSION">3</set>
<requires version="0.2.2"/>
<!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl -->
<set var="LIB_LIST">
base core net xml odbc xrc html adv media gl dbgrid qa aui richtext
<!-- this variable identifies the version of the wx presets.
this is changed only when major changes to wxpresets take place.
-->
<set var="WX_PRESETS_VERSION">4</set>
<!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl
VERY IMPORTANT: when updating this list also update the <wx-lib> and <wx-all-libs>
tag definitions.
-->
<set var="WX_LIB_LIST">
base core net xml odbc xrc html adv media gl dbgrid qa aui richtext stc
</set>
<!-- NOTE: refer to the NET contrib using NETUTILS instead of NET
(which is already in LIB_LIST) -->
<set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set>
<set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set>
<!-- if you define this variable to 0 before including wx presets, the
"test_for_selected_wxbuild" target which is added by default in win32 and GNU
makefiles, won't be added.
This is useful when e.g. you want to have wxWidgets as an optional
dependency and thus you don't want to perform that check unconditionally.
-->
<set var="WX_TEST_FOR_SELECTED_WXBUILD" overwrite="0">
1
</set>
<!-- this is a temporary variable until there is non general -->
<!-- function in bakefiles for returning native markup for -->
@@ -33,6 +141,109 @@
</set>
<!-- OPTIONS -->
<!-- -->
<!-- These are essentially the configurations you -->
<!-- want in bakefile. -->
<!-- -->
<!-- In MSVC these are the different build -->
<!-- configurations you can have (in the build menu), -->
<!-- and in autoconf is enabled with enable-xxx=xx. -->
<!-- For other compilers a separate configuration -->
<!-- file is created (such as config.gcc on gcc) -->
<!-- which has several options a user can modify. -->
<!-- -->
<!-- Note that the above only happens if an option -->
<!-- is not constant, i.e. if it cannot be determined -->
<!-- by bakefile itself. -->
<!-- Also note that for 'autoconf' format these options -->
<!-- are only useful when used together with wxpresets.m4 -->
<!-- macro file which contains macros for detecting the -->
<!-- option values for wx-based projects. See wxpresets.m4 -->
<!-- comments for more info. -->
<!-- Presets for limited dmars make.exe format: -->
<if cond="FORMAT=='dmars'">
<set var="WX_UNICODE">0</set>
<set var="WX_DEBUG">1</set>
<set var="WX_SHARED">0</set>
</if>
<!-- 'gnu' format needs to redefine the following options later in wx_unix.bkl -->
<if cond="FORMAT=='gnu'">
<set var="WX_UNICODE"/>
<set var="WX_DEBUG"/>
<set var="WX_SHARED"/>
<set var="WX_PORT"/>
<set var="WX_VERSION"/>
</if>
<!-- This is a standard option that determines -->
<!-- whether the user wants to build this library as -->
<!-- a dll or as a static library. -->
<if cond="not isdefined('WX_SHARED')">
<set var="WX_SHARED_DEFAULT" overwrite="0">0</set>
<option name="WX_SHARED">
<values>0,1</values>
<values-description>Static,DLL</values-description>
<default-value>$(WX_SHARED_DEFAULT)</default-value>
<description>
Use DLL build of wx library?
</description>
</option>
</if>
<!-- Configuration for building the bakefile with -->
<!-- unicode strings or not (unicode or ansi). -->
<if cond="not isdefined('WX_UNICODE')">
<set var="WX_UNICODE_DEFAULT" overwrite="0">0</set>
<option name="WX_UNICODE">
<values>0,1</values>
<values-description>ANSI,Unicode</values-description>
<default-value>$(WX_UNICODE_DEFAULT)</default-value>
<description>
Use Unicode build of wxWidgets?
</description>
</option>
</if>
<if cond="not isdefined('WX_DEBUG')">
<set var="WX_DEBUG_DEFAULT" overwrite="0">1</set>
<option name="WX_DEBUG">
<values>0,1</values>
<values-description>Release,Debug</values-description>
<default-value>$(WX_DEBUG_DEFAULT)</default-value>
<description>
Use debug build of wxWidgets (define __WXDEBUG__)?
</description>
</option>
</if>
<if cond="not isdefined('WX_VERSION')">
<set var="WX_VERSION_DEFAULT" overwrite="0">29</set>
<option name="WX_VERSION">
<default-value>$(WX_VERSION_DEFAULT)</default-value>
<description>
Version of the wx library to build against.
</description>
</option>
</if>
<if cond="not isdefined('WX_MONOLITHIC')">
<set var="WX_MONOLITHIC_DEFAULT" overwrite="0">0</set>
<option name="WX_MONOLITHIC">
<values>0,1</values>
<values-description>Multilib,Monolithic</values-description>
<default-value>$(WX_MONOLITHIC_DEFAULT)</default-value>
<description>
Use monolithic build of wxWidgets?
</description>
</option>
</if>
<!-- The directory where wxWidgets is installed: -->
<if cond="not isdefined('WX_DIR')">
<set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
@@ -46,6 +257,21 @@
<!-- HELPER VARIABLES -->
<!-- -->
<!-- These are handy ways of dealing with the -->
<!-- extensions in the library names of the -->
<!-- wxWindows library. -->
<set var="WXLIBPOSTFIX">
<if cond="WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
<if cond="WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
<if cond="WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
</set>
<!-- this is just a wrapper that includes the real implementation: -->
<set var="__wx_included_impl">0</set>
@@ -64,4 +290,239 @@
<error>This format is not (yet) supported by wx preset.</error>
</if>
<!-- HIGH-LEVEL TEMPLATE -->
<!-- -->
<!-- Combine 'wxlike' with 'wx' or 'wx-lib' templates to have your
project build in the same configuration used by the selected
wxWidgets build -->
<template id="wxlike">
<!-- WX_DEBUG-dependent -->
<set var="_OPT">
<if cond="WX_DEBUG=='1'">off</if>
<if cond="WX_DEBUG=='0'">speed</if>
</set>
<set var="_DEBUGINFO">
<if cond="WX_DEBUG=='1'">on</if>
<if cond="WX_DEBUG=='0'">off</if>
</set>
<if cond="FORMAT!='autoconf'">
<optimize>$(_OPT)</optimize>
<debug-info>$(_DEBUGINFO)</debug-info>
</if>
</template>
<!-- Template for building wx-based console applications -->
<template id="wxconsole" template="wx">
<define>wxUSE_GUI=0</define>
<app-type>console</app-type>
</template>
<!-- UTILITY TAGS -->
<!-- -->
<!-- private helper tag: does the same thing as for <set-wxlike> except that:
- the variable created is always named "__temp"
- can be used (only) inside targets as this is a non-global tag
-->
<define-tag name="__setlibname" rules="lib,dll,module,exe">
<set var="__temp">
<if cond="FORMAT!='autoconf' and FORMAT!='gnu'">
$(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)
</if>
<if cond="FORMAT=='autoconf' or FORMAT=='gnu'">
$(attributes['prefix'])_$(WX_PORT)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
</if>
</set>
</define-tag>
<!-- A simple tag which helps you to define a library name using the same rules used
by wxWidgets. Use the 'prefix' attribute to add your lib's prefix.
E.g.:
<wxlike-libname prefix='mylib'>module1</wxlike-libname>
<wxlike-libname prefix='mylib'>module2</wxlike-libname>
-->
<define-tag name="wxlike-libname" rules="lib">
<__setlibname prefix="$(attributes['prefix'])">$(value)</__setlibname>
<libname>$(__temp)</libname>
</define-tag>
<!-- exactly like <wxlike-libname> but this one sets the DLL name (and the DLL lib import name)
and thus must be used only inside a <dll> target...
-->
<define-tag name="wxlike-dllname" rules="dll,module">
<__setlibname prefix="$(attributes['prefix'])">$(value)</__setlibname>
<libname>$(__temp)</libname>
<dllname>$(__temp)</dllname>
</define-tag>
<!-- Links against a library which uses the same wxWidgets conventions.
-->
<define-tag name="wxlike-lib" rules="exe,lib,dll,module">
<__setlibname prefix="$(attributes['prefix'])">$(value)</__setlibname>
<sys-lib>$(__temp)</sys-lib>
</define-tag>
<!-- Sets as output folder for the current target a directory
called "$(value)/$(COMPILER)_lib|dll", just like wxWidgets does.
This makes it possible to keep separed the libraries/exes compiled with
different compilers and with a different value for WX_SHARED.
-->
<define-tag name="wxlike-dirname" rules="lib,dll,exe,module">
<if cond="FORMAT!='autoconf'">
<set var="_DIRNAME_SHARED_SUFFIX">
<if cond="WX_SHARED=='0'">lib</if>
<if cond="WX_SHARED=='1'">dll</if>
</set>
<set var="_DIRNAME">
$(value)/$(COMPILER)_$(_DIRNAME_SHARED_SUFFIX)
</set>
<dirname>$(_DIRNAME)</dirname>
<if cond="FORMAT_SUPPORTS_ACTIONS=='1'">
<set var="__mkdir_tgt">make_dir_$(id)</set>
<add-target target="$(__mkdir_tgt)" type="action"/>
<modify-target target="$(__mkdir_tgt)">
<command cond="TOOLSET=='unix'">
@mkdir -p $(_DIRNAME)
</command>
<command cond="TOOLSET in ['win32','os2','dos']">
if not exist $(nativePaths(_DIRNAME)) mkdir $(nativePaths(_DIRNAME))
</command>
</modify-target>
<!-- the following code is mostly equivalent to a:
<dependency-of>$(id)</dependency-of>
put into the __mkdir_tgt target, except that it does _prepend_
the __mkdir_tgt dependency instead of appending it.
This is required because some compilers (e.g. MSVC) need to store in the
output folder some files (e.g. the PDB file) while compiling and thus
the library output folder must have been created before _any_ source file
is compiled, not just before the library is linked.
-->
<modify-target target="$(id)">
<set var="__deps" prepend="1">
$(substitute(__mkdir_tgt, lambda x: ref('__depname', x), 'DEP'))
</set>
</modify-target>
</if>
</if>
<if cond="FORMAT=='autoconf'">
<set var="_DIRNAME">$(value)</set>
<dirname>$(_DIRNAME)</dirname>
</if>
</define-tag>
<!-- Adds to the compiler & linker flags the path for the "include" and the
"lib" folders of a library following wxWidgets conventions which is
located in $(value).
-->
<define-tag name="wxlike-paths" rules="exe,lib,dll,module">
<if cond="FORMAT!='autoconf' and FORMAT!='gnu'">
<!-- WXLIBPATH is a path like "/lib/vc_lib"
NOTE: even if this template is going to be used for a "lib"
target (which does not uses lib-paths at all), we can still
use the <lib-path> target: it will just be discarded
-->
<lib-path>$(value)$(WXLIBPATH)</lib-path>
<!-- no special include paths for a lib following wxWidgets naming
conventions -->
<include>$(value)/include</include>
</if>
<!-- for autoconf format the user should use CPPFLAGS and LDFLAGS to
specify non-system paths since the wx-based library should have
been installed in standard paths
-->
</define-tag>
<!-- UTILITY GLOBAL TAGS -->
<!-- -->
<!-- Sets the BUILDDIR variable using the same rules used by wxWidgets itself.
This makes it possible to keep separed the object files compiled with
different configuration settings.
-->
<define-global-tag name="set-wxlike-builddir">
<!-- note that the builddir for autoconf should always be '.' -->
<if cond="FORMAT!='autoconf'">
<set var="_BUILDDIR_SHARED_SUFFIX">
<if cond="WX_SHARED=='0'"></if>
<if cond="WX_SHARED=='1'">_dll</if>
</set>
<set var="BUILDDIR">
$(COMPILER)$(WX_PORT)$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)
</set>
</if>
</define-global-tag>
<!-- Sets a variable with the name of the 'var' attribute value using the
same rules used for wxWidgets library naming.
E.g.
<set-wxlike var='MYMODULE_LIBNAME' prefix='mylib'>
mymodule
</set-wxlike>
This tag also supports a 'cond' attribute making it very powerful
for conditional linking a wx-based library:
<option name="USE_MYMODULE">
<values>0,1</values>
</option>
<set-wxlike var='MYMODULE_DEP'
prefix='mylib'
cond="USE_MYMODULE=='1'">
mymodule
</set-wxlike>
...
<exe id="myexe">
<sys-lib>$(MYMODULE_DEP)</sys-lib>
</exe>
-->
<define-global-tag name="set-wxlike">
<if cond="FORMAT!='autoconf' and FORMAT!='gnu'">
<if cond="'cond' not in attributes">
<set var="$(attributes['var'])">
$(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)
</set>
</if>
<if cond="'cond' in attributes">
<set var="$(attributes['var'])">
<if cond="$(attributes['cond'])">
$(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)
</if>
</set>
</if>
</if>
<if cond="FORMAT=='autoconf' or FORMAT=='gnu'">
<if cond="'cond' not in attributes">
<set var="$(attributes['var'])">
$(attributes['prefix'])_$(WX_PORT)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
</set>
</if>
<if cond="'cond' in attributes">
<set var="$(attributes['var'])">
<if cond="$(attributes['cond'])">
$(attributes['prefix'])_$(WX_PORT)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
</if>
</set>
</if>
</if>
</define-global-tag>
</makefile>

View File

@@ -5,64 +5,217 @@
Presents for building wxWidgets applications using Autoconf or GNU toosets.
See wx.bkl for platform-independent notes.
Usage:
Options WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS are defined.
Format-specific notes:
* autoconf:
Beware that you have to use AM_OPTIONS_WXCONFIG and
AM_PATH_WXCONFIG in your configure.in!
AM_PATH_WXCONFIG in your configure.in to get at least the
WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS option values defined.
To detect the WX_* option values typically you also want to use
the AM_WXPRESETS_OPTIONS and AM_WXPRESETS_CHECKS macros
(see wxpresets.m4 for more info).
-->
<makefile>
<!-- ============================================================== -->
<!-- Autoconf -->
<!-- ============================================================== -->
<if cond="FORMAT=='autoconf'">
<!-- Autoconf backend is simplicity itself thanks to wx-config... -->
<option name="WX_CFLAGS"/>
<option name="WX_CXXFLAGS"/>
<option name="WX_CPPFLAGS"/>
<option name="WX_LIBS"/>
<option name="WX_RESCOMP"/>
<option name="WX_VERSION_MAJOR"/>
<option name="WX_VERSION_MINOR"/>
<option name="WX_PORT"/>
<!-- wxwin.m4 macros will detect all WX_* options defined above -->
<!-- VERY IMPORTANT: <wx-lib>base</wx-lib> must be the last wx-lib tag
in all your bakefiles !!
-->
<define-tag name="wx-lib" rules="exe,dll,module">
<if cond="value=='base'">
<!-- all wx-dependent libraries should have been already listed
thus we can now add WX_LIBS to the linker line -->
<ldlibs>$(WX_LIBS)</ldlibs>
</if>
<if cond="value not in WX_LIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
</if>
<!-- ============================================================== -->
<!-- GNU makefiles for Unix -->
<!-- ============================================================== -->
<if cond="FORMAT=='gnu'">
<!-- remove those WX_* vars which were created just to avoid the definition
of the WX_* options in wx.bkl -->
<unset var="WX_SHARED"/>
<unset var="WX_UNICODE"/>
<unset var="WX_DEBUG"/>
<unset var="WX_PORT"/>
<unset var="WX_VERSION"/>
<set var="WX_CONFIG_DEFAULT" overwrite="0">wx-config</set>
<option name="WX_CONFIG">
<default-value>$(WX_CONFIG_DEFAULT)</default-value>
<description>Location and arguments of wx-config script</description>
</option>
<option name="WX_CFLAGS">
<default-value>`$(DOLLAR)(WX_CONFIG) --cflags`</default-value>
<description>C flags to use with wxWidgets code</description>
<set var="WX_PORT_DEFAULT" overwrite="0">
$(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 1)
</set>
<option name="WX_PORT">
<values>gtk1,gtk2,msw,x11,motif,mgl,mac,dfb</values>
<default-value force="1">$(WX_PORT_DEFAULT)</default-value>
<description>
Port of the wx library to build against
</description>
</option>
<option name="WX_CXXFLAGS">
<default-value>`$(DOLLAR)(WX_CONFIG) --cxxflags`</default-value>
<description>C++ flags to use with wxWidgets code</description>
<set var="WX_SHARED_DEFAULT" overwrite="0">
$(DOLLAR)(shell if test -z `$(WX_CONFIG) --selected-config | cut -d '-' -f 5`; then echo 1; else echo 0; fi)
</set>
<option name="WX_SHARED">
<values>0,1</values>
<values-description>Static,DLL</values-description>
<default-value force="1">$(WX_SHARED_DEFAULT)</default-value>
<description>
Use DLL build of wx library to use?
</description>
</option>
<option name="WX_CPPFLAGS">
<default-value>`$(DOLLAR)(WX_CONFIG) --cppflags`</default-value>
<description>C preprocessor flags to use with wxWidgets code</description>
<set var="WX_UNICODE_DEFAULT" overwrite="0">
$(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 2 | sed 's/unicode/1/;s/ansi/0/')
</set>
<option name="WX_UNICODE">
<values>0,1</values>
<values-description>ANSI,Unicode</values-description>
<default-value force="1">$(WX_UNICODE_DEFAULT)</default-value>
<description>
Compile Unicode build of wxWidgets?
</description>
</option>
<option name="WX_RESCOMP">
<default-value>`$(DOLLAR)(WX_CONFIG) --rescomp`</default-value>
<description>wxWidgets resource compiler and flags</description>
<set var="WX_DEBUG_DEFAULT" overwrite="0">
$(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 3 | sed 's/debug/1/;s/release/0/')
</set>
<option name="WX_DEBUG">
<values>0,1</values>
<values-description>Release,Debug</values-description>
<default-value force="1">$(WX_DEBUG_DEFAULT)</default-value>
<description>
Use debug build of wxWidgets (define __WXDEBUG__)?
</description>
</option>
<set var="WX_VERSION_DEFAULT" overwrite="0">
$(DOLLAR)(shell $(WX_CONFIG) --selected-config | sed -e 's/.*-\([0-9]*\)\.\([0-9]*\)$$/\1\2/')
</set>
<option name="WX_VERSION">
<default-value>$(WX_VERSION_DEFAULT)</default-value>
<description>
Version of the wx library to build against.
</description>
</option>
<!-- Get MAJOR and MINOR version numbers -->
<set var="WX_VERSION_MAJOR" make_var="1">
$(DOLLAR)(shell echo $(DOLLAR)(WX_VERSION) | cut -c1,1)
</set>
<set var="WX_VERSION_MINOR" make_var="1">
$(DOLLAR)(shell echo $(DOLLAR)(WX_VERSION) | cut -c2,2)
</set>
<!--
Using the GNU format creates a configurable makefile just like
a win32 makefile: i.e. a makefile where you can select the wanted
wxWidgets build using the WX_* options.
The difference with win32 makefiles is that WX_DEBUG, WX_UNICODE and
WX_SHARED options have a smart default value which is created using
the installed wx-config or the wx-config given using WX_CONFIG option
-->
<set var="WX_CONFIG_DEBUG_FLAG">
<if cond="WX_DEBUG=='0'">--debug=no</if>
<if cond="WX_DEBUG=='1'">--debug=yes</if>
</set>
<set var="WX_CONFIG_UNICODE_FLAG">
<if cond="WX_UNICODE=='0'">--unicode=no</if>
<if cond="WX_UNICODE=='1'">--unicode=yes</if>
</set>
<set var="WX_CONFIG_SHARED_FLAG">
<if cond="WX_SHARED=='0'">--static=yes</if>
<if cond="WX_SHARED=='1'">--static=no</if>
</set>
<set var="WX_CONFIG_PORT_FLAG">
--toolkit=$(WX_PORT)
</set>
<set var="WX_CONFIG_VERSION_FLAG">
--version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
</set>
<set var="WX_CONFIG_FLAGS" make_var="1">
$(WX_CONFIG_DEBUG_FLAG) $(WX_CONFIG_UNICODE_FLAG) $(WX_CONFIG_SHARED_FLAG)
$(WX_CONFIG_PORT_FLAG) $(WX_CONFIG_VERSION_FLAG)
</set>
<set var="WX_CFLAGS">`$(DOLLAR)(WX_CONFIG) --cflags $(WX_CONFIG_FLAGS)`</set>
<set var="WX_CXXFLAGS">`$(DOLLAR)(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)`</set>
<set var="WX_CPPFLAGS">`$(DOLLAR)(WX_CONFIG) --cppflags $(WX_CONFIG_FLAGS)`</set>
<set var="WX_RESCOMP">`$(DOLLAR)(WX_CONFIG) --rescomp $(WX_CONFIG_FLAGS)`</set>
<!--
VERY IMPORTANT: before starting to build all targets of the generated makefile,
we need to check if the selected wxWidgets build exists; we do
that simply creating the following target; if it fails the make
program will halt with the wx-config error message...
-->
<if cond="WX_TEST_FOR_SELECTED_WXBUILD=='1'">
<action id="test_for_selected_wxbuild">
<dependency-of>all</dependency-of>
<!-- Use @ to hide to the user that we're running wx-config... -->
<command>@$(DOLLAR)(WX_CONFIG) $(WX_CONFIG_FLAGS)</command>
</action>
</if>
<!-- we need this but the trick used in default-values above
prevents bakefile from detecting it: -->
<set var="FORMAT_OUTPUT_VARIABLES" append="1">WX_CONFIG</set>
<set var="FORMAT_OUTPUT_VARIABLES" append="1">WX_CONFIG WX_VERSION</set>
<!-- VERY IMPORTANT: <wx-lib>base</wx-lib> must be the last wx-lib tag
in all your bakefiles !!
-->
<define-tag name="wx-lib" rules="exe,dll,module">
<if cond="value=='base'">
<!-- all wx libraries should have been already specified, thus
$(__liblist) should contain the full list... -->
<set var="__liblist" append="1">base</set>
<ldlibs>`$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs $(','.join(__liblist.split()))`</ldlibs>
</if>
<if cond="value!='base'">
<set var="__liblist" append="1">$(value)</set>
</if>
<if cond="value not in WX_LIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
</if>
<!-- ============================================================== -->
@@ -110,27 +263,4 @@ Format-specific notes:
-->
</template>
<!-- VERY IMPORTANT: <wx-lib>base</wx-lib> must be the last wx-lib tag
in all your bakefiles !!
-->
<define-tag name="wx-lib" rules="exe,dll,module">
<if cond="FORMAT=='autoconf' and value=='base'">
<!-- all wx-dependent libraries should have been already listed
thus we can now add WX_LIBS to the linker line -->
<ldlibs>$(WX_LIBS)</ldlibs>
</if>
<if cond="FORMAT=='gnu' and value=='base'">
<!-- all wx libraries should have been already specified, thus
$(__liblist) should contain the full list... -->
<set var="__liblist" append="1">base</set>
<ldlibs>`$(WX_CONFIG) --libs $(','.join(__liblist.split()))`</ldlibs>
</if>
<if cond="FORMAT=='gnu' and value!='base'">
<set var="__liblist" append="1">$(value)</set>
</if>
<if cond="value not in ALLLIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
</makefile>

View File

@@ -10,21 +10,8 @@
<!-- $Id$ -->
<!--
FIXME: this template has (at least) the following bugs:
* it's MSW-only, the port is assumed to be wxMSW unconditionally
* multiple wx configurations (CFG variable set when building the
library) are not supported
-->
<!-- makefile tag signifies the beginning of the bakefile -->
<makefile>
<requires version="0.1.5"/>
<!-- OPTIONS -->
<!-- -->
@@ -41,77 +28,12 @@ FIXME: this template has (at least) the following bugs:
<!-- Note that the above only happens if an option -->
<!-- is not constant, i.e. if it cannot be determined -->
<!-- by bakefile itself. -->
<!-- Also note that for 'autoconf' format these options -->
<!-- are only useful when used together with wxpresets.m4 -->
<!-- macro file which contains macros for detecting the -->
<!-- option values for wx-based projects. See wxpresets.m4 -->
<!-- comments for more info. -->
<!-- Presets for limited dmars make.exe format: -->
<if cond="FORMAT=='dmars'">
<set var="WX_UNICODE">0</set>
<set var="WX_DEBUG">1</set>
<set var="WX_SHARED">0</set>
</if>
<!-- This is a standard option that determines -->
<!-- whether the user wants to build this library as -->
<!-- a dll or as a static library. -->
<if cond="not isdefined('WX_SHARED')">
<set var="WX_SHARED_DEFAULT" overwrite="0">0</set>
<option name="WX_SHARED">
<values>0,1</values>
<values-description>,DLL</values-description>
<default-value>$(WX_SHARED_DEFAULT)</default-value>
<description>
Use DLL build of wx library to use?
</description>
</option>
</if>
<!-- Configuration for building the bakefile with -->
<!-- unicode strings or not (unicode or ansi). -->
<if cond="not isdefined('WX_UNICODE')">
<set var="WX_UNICODE_DEFAULT" overwrite="0">0</set>
<option name="WX_UNICODE">
<values>0,1</values>
<values-description>,Unicode</values-description>
<default-value>$(WX_UNICODE_DEFAULT)</default-value>
<description>
Compile Unicode build of wxWidgets?
</description>
</option>
</if>
<if cond="not isdefined('WX_DEBUG')">
<set var="WX_DEBUG_DEFAULT" overwrite="0">1</set>
<option name="WX_DEBUG">
<values>0,1</values>
<values-description>Release,Debug</values-description>
<default-value>$(WX_DEBUG_DEFAULT)</default-value>
<description>
Use debug build of wxWidgets (define __WXDEBUG__)?
</description>
</option>
</if>
<if cond="not isdefined('WX_VERSION')">
<set var="WX_VERSION_DEFAULT" overwrite="0">28</set>
<option name="WX_VERSION">
<default-value>$(WX_VERSION_DEFAULT)</default-value>
<description>
Version of the wx library to build against.
</description>
</option>
</if>
<if cond="not isdefined('WX_MONOLITHIC')">
<set var="WX_MONOLITHIC_DEFAULT" overwrite="0">0</set>
<option name="WX_MONOLITHIC">
<values>0,1</values>
<values-description>Multilib,Monolithic</values-description>
<default-value>$(WX_MONOLITHIC_DEFAULT)</default-value>
<description>
Use monolithic build of wxWidgets?
</description>
</option>
</if>
<!-- HELPER VARIABLES -->
@@ -135,11 +57,6 @@ FIXME: this template has (at least) the following bugs:
<!-- These are handy ways of dealing with the -->
<!-- extensions in the library names of the -->
<!-- wxWindows library. -->
<set var="WXLIBPOSTFIX">
<if cond="WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
<if cond="WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
<if cond="WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
</set>
<set var="WX3RDPARTYLIBPOSTFIX">
<if cond="WX_DEBUG=='1'">d</if>
</set>
@@ -153,11 +70,14 @@ FIXME: this template has (at least) the following bugs:
<if cond="WX_SHARED=='1'">$(DIRSEP)lib$(DIRSEP)$(COMPILER)$(WXCPU)_dll</if>
</set>
<set var="WXPORT">
<!-- under Unix this is an option (detected at configure-time);
under Windows this is not an user option! -->
<set var="WX_PORT">
<if cond="FORMAT=='msevc4prj'">wince</if>
<if cond="FORMAT!='msevc4prj'">msw</if>
</set>
<set var="WXLIBINCLUDE">$(WXLIBPATH)$(DIRSEP)$(WXPORT)$(WXLIBPOSTFIX)</set>
<set var="WXLIBINCLUDE">$(WXLIBPATH)$(DIRSEP)$(WX_PORT)$(WXLIBPOSTFIX)</set>
<!-- All the possible mixes for the wx library names -->
@@ -173,94 +93,65 @@ FIXME: this template has (at least) the following bugs:
WX_MONOLITHIC=1, then the base library is translated to the
monolithic library
-->
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WX_PORT)$(WX_VERSION)</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WX_PORT)$(WX_VERSION)d</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WX_PORT)$(WX_VERSION)u</if>
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WX_PORT)$(WX_VERSION)ud</if>
</set>
<!-- Libraries whose name is prefixed with 'wxbase' -->
<set var="WXLIB_NET_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_net</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_net</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_net</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_net</if>
</set>
<set var="WXLIB_XML_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_xml</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_xml</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_xml</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_xml</if>
</set>
<set var="WXLIB_ODBC_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_odbc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_odbc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_odbc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_odbc</if>
<define-global-tag name="define-wxbase-lib-name">
<set var="WXLIB_$(value.upper())_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">
wxbase$(WX_VERSION)_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">
wxbase$(WX_VERSION)d_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">
wxbase$(WX_VERSION)u_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">
wxbase$(WX_VERSION)ud_$(value)
</if>
</set>
</define-global-tag>
<define-wxbase-lib-name>net</define-wxbase-lib-name>
<define-wxbase-lib-name>xml</define-wxbase-lib-name>
<define-wxbase-lib-name>odbc</define-wxbase-lib-name>
<!-- Libraries whose name is prefixed with 'wx' only -->
<set var="WXLIB_CORE_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_core</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_core</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_core</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_core</if>
</set>
<set var="WXLIB_MEDIA_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_media</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_media</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_media</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_media</if>
</set>
<set var="WXLIB_XRC_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_xrc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_xrc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_xrc</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_xrc</if>
</set>
<set var="WXLIB_HTML_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_html</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_html</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_html</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_html</if>
</set>
<set var="WXLIB_ADV_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_adv</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_adv</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_adv</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_adv</if>
</set>
<set var="WXLIB_QA_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_qa</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_qa</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_qa</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_qa</if>
</set>
<set var="WXLIB_DBGRID_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_dbgrid</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_dbgrid</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_dbgrid</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_dbgrid</if>
</set>
<set var="WXLIB_GL_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_gl</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_gl</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_gl</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_gl</if>
</set>
<set var="WXLIB_AUI_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_aui</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_aui</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_aui</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_aui</if>
</set>
<set var="WXLIB_RICHTEXT_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_richtext</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_richtext</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_richtext</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_richtext</if>
</set>
<define-global-tag name="define-wxlib-name">
<set var="WXLIB_$(value.upper())_NAME">
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">
wx$(WX_PORT)$(WX_VERSION)_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">
wx$(WX_PORT)$(WX_VERSION)d_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">
wx$(WX_PORT)$(WX_VERSION)u_$(value)
</if>
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">
wx$(WX_PORT)$(WX_VERSION)ud_$(value)
</if>
</set>
</define-global-tag>
<define-wxlib-name>core</define-wxlib-name>
<define-wxlib-name>media</define-wxlib-name>
<define-wxlib-name>xrc</define-wxlib-name>
<define-wxlib-name>html</define-wxlib-name>
<define-wxlib-name>adv</define-wxlib-name>
<define-wxlib-name>qa</define-wxlib-name>
<define-wxlib-name>dbgrid</define-wxlib-name>
<define-wxlib-name>gl</define-wxlib-name>
<define-wxlib-name>aui</define-wxlib-name>
<define-wxlib-name>stc</define-wxlib-name>
<define-wxlib-name>richtext</define-wxlib-name>
@@ -303,13 +194,14 @@ FIXME: this template has (at least) the following bugs:
<if cond="value=='aui'"><sys-lib>$(WXLIB_AUI_NAME)</sys-lib></if>
<if cond="value=='richtext'"><sys-lib>$(WXLIB_RICHTEXT_NAME)</sys-lib></if>
<!-- wx-lib can be used also to link against contrib libraries
(which always have the same name, regardless of WX_MONOLITHIC value) -->
<if cond="value in CONTRIBLIB_LIST.split()">
<sys-lib>wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)</sys-lib>
<if cond="value=='stc'">
<!-- wxSTC requires also the basic scintilla library
which is built as a separate 3rd party library -->
<sys-lib>$(WXLIB_STC_NAME)</sys-lib>
<sys-lib>wxscintilla$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
</if>
<if cond="value not in ALLLIB_LIST.split()">
<if cond="value not in WX_LIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
@@ -331,6 +223,8 @@ FIXME: this template has (at least) the following bugs:
<ldflags>-mthreads</ldflags>
</if>
<define>$(substituteFromDict(WX_SHARED,{'1':'WXUSINGDLL','0':''}))</define>
<define>$(WXUNICODE_DEFINE)</define>
<define>$(WXDEBUG_DEFINE)</define>
<define>__WXMSW__</define>
@@ -397,4 +291,32 @@ FIXME: this template has (at least) the following bugs:
<__wx-syslibs/>
</template>
<if cond="FORMAT_SUPPORTS_ACTIONS=='1' and WX_TEST_FOR_SELECTED_WXBUILD=='1'">
<!--
VERY IMPORTANT: before starting to build all targets of the generated makefile,
we need to check if the selected wxWidgets build exists; we do
that simply creating the following target; if it fails the make
program will halt printing the following nice error message...
(much better than the 'could not find wx/*.h file')
-->
<action id="test_for_selected_wxbuild">
<dependency-of>all</dependency-of>
<!-- the @ is to hide these actions from the user -->
<command>
@if not exist $(WX_DIR)$(WXLIBINCLUDE)$(DIRSEP)wx$(DIRSEP)setup.h \
echo ----------------------------------------------------------------------------
@if not exist $(WX_DIR)$(WXLIBINCLUDE)$(DIRSEP)wx$(DIRSEP)setup.h \
echo The selected wxWidgets build is not available!
@if not exist $(WX_DIR)$(WXLIBINCLUDE)$(DIRSEP)wx$(DIRSEP)setup.h \
echo Please use the options prefixed with WX_ to select another wxWidgets build.
@if not exist $(WX_DIR)$(WXLIBINCLUDE)$(DIRSEP)wx$(DIRSEP)setup.h \
echo ----------------------------------------------------------------------------
@if not exist $(WX_DIR)$(WXLIBINCLUDE)$(DIRSEP)wx$(DIRSEP)setup.h \
exit 1
</command>
</action>
</if>
</makefile>

View File

@@ -7,6 +7,9 @@
<exe id="minimal" template="wx">
<app-type>gui</app-type>
<!-- this sample builds always in debug mode; if you have
compiled wxWidgets in release mode, you'll get link errors! -->
<debug-info>on</debug-info>
<runtime-libs>dynamic</runtime-libs>

View File

@@ -40,10 +40,11 @@ def mk_wxid(id):
# All libs that are part of the main library (i.e. non-contrib):
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui', 'richtext']
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui', 'richtext', 'stc']
# List of library names/ids for categories with different names:
LIBS_NOGUI = ['xml', 'net', 'odbc']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media', 'aui', 'richtext']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media',
'aui', 'richtext', 'stc']
# Additional libraries that must be linked in:
EXTRALIBS = {
'gl' : '$(EXTRALIBS_OPENGL)',

View File

@@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: common.xml
Purpose: Schedulers and locks common to all slaves.
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xsl:version="1.0">
<xi:include href="include.xml" xpointer="xpointer(*/*)"/>
<!--
Quick schedulers. Builds using these are triggered after each change to
the sources on the given branch.
name: unique
branch: branch to watch
treeStableTimer: wait until the tree has stopped changing for the
given number of seconds before firing
fileNotImportant: files matching these patterns do not trigger a build
-->
<scheduler>
<name>trunk_quick</name>
<branch>trunk</branch>
<treeStableTimer>900</treeStableTimer>
<fileNotImportant>doc/*</fileNotImportant>
</scheduler>
<scheduler>
<name>stable_quick</name>
<branch><STABLE_BRANCH/></branch>
<treeStableTimer>900</treeStableTimer>
<fileNotImportant>doc/*</fileNotImportant>
</scheduler>
<!--
Schedulers that fire once a week.
A build can use one of these to be triggered once a week, or more than
one if it should run several times a week on particular days.
-->
<nightly>
<name>sunday_6am</name>
<hour>6</hour>
<dayOfWeek>0</dayOfWeek>
</nightly>
<nightly>
<name>monday_6am</name>
<hour>6</hour>
<dayOfWeek>1</dayOfWeek>
</nightly>
<nightly>
<name>tuesday_6am</name>
<hour>6</hour>
<dayOfWeek>2</dayOfWeek>
</nightly>
<nightly>
<name>wednesday_6am</name>
<hour>6</hour>
<dayOfWeek>3</dayOfWeek>
</nightly>
<nightly>
<name>thursday_6am</name>
<hour>6</hour>
<dayOfWeek>4</dayOfWeek>
</nightly>
<nightly>
<name>friday_6am</name>
<hour>6</hour>
<dayOfWeek>5</dayOfWeek>
</nightly>
<nightly>
<name>saturday_6am</name>
<hour>6</hour>
<dayOfWeek>6</dayOfWeek>
</nightly>
<!--
Schedulers for daily builds.
-->
<nightly>
<name>daily_6am</name>
<hour>6</hour>
</nightly>
<!--
Track SVN changes using the wx-cvs mailing list.
The <prefix> is subtracted from the paths in the 'Modified Files:'
section, the remainder is then assumed to give the branch and filename.
-->
<svnmaildirsource>
<prefix>wxWidgets</prefix>
</svnmaildirsource>
</bot>

View File

@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: example.xml
Purpose: Buildbot example configuration.
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
There is one xml file such as this per build slave containing a <build>
element for each build the slave runs. Each <build> corresponds to a
column in the waterfall display.
For full documentation see:
http://www.wxwidgets.org/wiki/index.php/Development:_Buildbot
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xsl:version="1.0">
<!--
Common declarations.
-->
<xi:include href="include.xml" xpointer="xpointer(*/*)"/>
<!--
Notes:
The elements marked 'Unique' below must be unique across all builds on
all slaves.
If a build is currently failing because of something other than a bug in
wxWidgets, e.g. out of space or missing libs, then comment it out, or
add '** Ignore **' to the beginning of the <name>, so that wxWidgets
developers know not to waste time investigating.
-->
<build>
<!--
Unique. Appears as the title in the waterfall display.
-->
<name>Linux x86_64 wxGTK Stable</name>
<!--
Unique. The name of a directory for the bulid. On most slaves must
be a single name, on the Testdrive builds it must be a path such as
'/tmp/wx/td_gtk'.
-->
<builddir>example_gtk</builddir>
<!--
The name of a scheduler that will trigger this build. The schedulers
are usually defined in common.xml, look in there to see if there is
already one you can use, and add a new one if not.
The 'trunk_quick' and 'stable_quick' schedulers currently in
common.xml trigger a build after every source change on the trunk
and stable branches respectively. There are also daily and weekly
schedulers 'daily_6am', 'monday_6am', 'tuesday_6am' and so on.
The <scheduler> element can be omitted, in which case the build
never runs automatically, but can still be triggered manually.
Or you can use several, e.g. you could use two weekly schedulers
that fire on different days to have a build run twice a week.
-->
<scheduler>trunk_quick</scheduler>
<!--
The meaning of <sandbox> is specific to the build slave. There
should be a comment in the slave's configuration file saying if they
are allowed or required. On the testdrive it specifies the remote
machine that will run the bulid.
-->
<sandbox>debug</sandbox>
<!--
You can override the make command the compile steps will use using
this <make> element, if omitted defaults to 'make'. For Windows
builds this becomes the place to put build options as there is no
configure step.
-->
<make>nmake -f makefile.vc SHARED=1 CPPUNIT_CFLAGS=-I\cppunit\include CPPUNIT_LIBS=cppunit.lib</make>
<!--
The build steps.
-->
<steps>
<!--
Check out the sources, by default the trunk branch. Or for a
particular branch or tag, e.g.:
<checkout branch="{$STABLE_BRANCH}"/>
<checkout branch="branches/WX_2_6_BRANCH"/>
-->
<checkout/>
<!--
A <shellcommand> build step can be used anywhere you need to run
arbitrary commands not covered by the standard build steps.
<haltOnFailure/> specifies that the whole build fails if this
step fails, without it it continues with the next step anyway.
-->
<shellcommand>
<description>setting up</description>
<descriptionDone>set up</descriptionDone>
<haltOnFailure/>
<command>setup-script</command>
</shellcommand>
<!--
Configure. Options and environment variables can be added with
the 'options' attribute:
<configure options="-with-foobar CC=cc CXX=CC"/>
Omitted for Windows builds.
-->
<configure/>
<!--
Compile the library. For Windows builds use <compile-msw/>
instead which runs the make command in the 'build\msw'
subdirectory instead of the wxWidgets root.
-->
<compile/>
<!--
Compile subdirectories. There is also <compile-contrib/> for
branches that have contrib.
-->
<compile-samples/>
<compile-utils/>
<compile-tests/>
<!--
Run the test suites. For Windows builds the command to run the
test suite must be overridden, e.g.:
<run-tests>
<command>PATH=..\lib\vc_dll;%PATH%</command>
<command>cd tests</command>
<command>vc_msw\test</command>
<command>vc_msw\test_gui</command>
</run-tests>
-->
<run-tests/>
</steps>
</build>
</bot>

View File

@@ -0,0 +1,340 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: include.xml
Purpose: Common declarations for buildbot
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xsl:version="1.0">
<!--
Constants
-->
<xsl:template name="SVN_URL">http://svn.wxwidgets.org/svn/wx/wxWidgets/</xsl:template>
<xsl:template name="STABLE_BRANCH">branches/WX_2_8_BRANCH</xsl:template>
<xsl:variable name="STABLE_BRANCH"><STABLE_BRANCH/></xsl:variable>
<!--
checkout - build step for source checkout.
Usage: as <svn> with defaults for <baseURL> and <defaultBranch>
Typically just:
<checkout/>
for the trunk, or:
<checkout branch="branches/WX_2_8_BRANCH"/>
to checkout a branch.
-->
<xsl:template name="checkout">
<xsl:param name="content"/>
<xsl:param name="branch" select="'trunk'"/>
<xsl:variable name="nodes" select="exsl:node-set($content)"/>
<svn>
<xsl:if test="not($nodes/svnurl)">
<xsl:if test="not($nodes/baseURL)">
<baseURL><SVN_URL/></baseURL>
</xsl:if>
<xsl:if test="not($nodes/defaultBranch)">
<defaultBranch><xsl:value-of select="$branch"/></defaultBranch>
</xsl:if>
</xsl:if>
<xsl:copy-of select="$content"/>
</svn>
</xsl:template>
<!--
configure - add the options attribute to <configure>
Usage: <configure options="-with-foobar"/>
-->
<xsl:template name="configure">
<xsl:param name="content"/>
<xsl:param name="options"/>
<configure>
<copy-with-defaults content="{$content}">
<command>./configure <xsl:value-of select="$options"/></command>
</copy-with-defaults>
</configure>
</xsl:template>
<!--
make - specify the make command.
Usage: <make>nmake -f makefile.vc SHARED=1</make>
Used as a child of <build> to specify the make command used by the
<compile> elements below, if omitted 'make' is used.
-->
<xsl:template name="make"/>
<!--
compile - modifiy <compile> to default to the command given by <make>
Usage: as <compile>
The <make> element of <build> spcecifies the make command used by all
compile build steps in the build. If <make> is not given 'make' is used.
The command for a particular compile build step can be further overridden
using its <command> element:
<compile>
<command>myscript</command>
</compile>
-->
<xsl:template name="compile">
<xsl:param name="content"/>
<compile>
<copy-with-defaults content="{$content}">
<command><get name="make" default="make"/></command>
</copy-with-defaults>
</compile>
</xsl:template>
<!--
Compile build steps for the usual subdirectories.
Usage: as <compile>
Typically just:
<compile-msw/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
By default the compile command produced is:
cd foobar && make
As above, the 'make' part can be overridden using the <make> element or
the whole command line can be replaced using <command>.
<compile-msw> and <compile-tests> halt the build on failure, the others
continue with the next step (can be overridden by <haltOnFailure>).
-->
<xsl:template name="compile-msw">
<xsl:param name="content"/>
<compile-subdir dir="build\msw" halt="true">
<xsl:copy-of select="$content"/>
</compile-subdir>
</xsl:template>
<xsl:template name="compile-samples">
<xsl:param name="content"/>
<compile-subdir dir="samples">
<xsl:copy-of select="$content"/>
</compile-subdir>
</xsl:template>
<xsl:template name="compile-utils">
<xsl:param name="content"/>
<compile-subdir dir="utils">
<xsl:copy-of select="$content"/>
</compile-subdir>
</xsl:template>
<xsl:template name="compile-contrib">
<xsl:param name="content"/>
<compile-subdir dir="contrib">
<xsl:copy-of select="$content"/>
</compile-subdir>
</xsl:template>
<xsl:template name="compile-tests">
<xsl:param name="content"/>
<compile-subdir dir="tests" halt="true">
<xsl:copy-of select="$content"/>
</compile-subdir>
</xsl:template>
<!--
compile-subdir - build step to compile a subdirectory.
Usage: as <compile> plus the following attributes,
<compile-subdir dir="foobar" [ halt="true" ]/>
Compiles the named subdirectory 'foobar'. Continues with the next build
step on failure, unless the optional attibute 'halt="true"' is given.
The make command used is as described for the compile steps above.
-->
<xsl:template name="compile-subdir">
<xsl:param name="content"/>
<xsl:param name="dir"/>
<xsl:param name="halt" select="'false'"/>
<compile>
<defaults content="{$content}">
<name>
compile <xsl:value-of select="$dir"/>
</name>
<description>
compiling <xsl:value-of select="$dir"/>
</description>
<descriptionDone>
compile <xsl:value-of select="$dir"/>
</descriptionDone>
<haltOnFailure>
<xsl:value-of select="$halt"/>
</haltOnFailure>
<warnOnFailure/>
</defaults>
<copy-with-defaults content="{$content}">
<command>cd <xsl:value-of select="$dir"/> &amp;&amp; <get name="make" default="make"/></command>
</copy-with-defaults>
</compile>
</xsl:template>
<!--
run-tests - build step to run the test suites.
Usage: as <test>
For unix builds typically just:
<run-tests/>
or for Windows builds, e.g.:
<run-tests>
<command>PATH=..\lib\vc_lib;%PATH%</command>
<command>cd tests &amp;&amp; vc_msw\test</command>
</run-tests>
-->
<xsl:template name="run-tests">
<xsl:param name="content"/>
<test>
<defaults content="{$content}">
<description>running tests</description>
<descriptionDone>run tests</descriptionDone>
<warnOnFailure/>
</defaults>
<copy-with-defaults content="{$content}">
<command><xi:include href="run-tests.sh" parse="text"/></command>
</copy-with-defaults>
</test>
</xsl:template>
<!--
defaults - supply default content for an element.
Usage: <defaults content="{$content}">
<foo>foo</foo>
<bar>bar</bar>
</defaults>
Copies those child elements that do not already exist in $content.
-->
<xsl:template name="defaults">
<xsl:param name="defaults"/>
<xsl:param name="content"/>
<xsl:variable name="def-nodes" select="exsl:node-set($defaults)"/>
<xsl:variable name="cont-nodes" select="exsl:node-set($content)"/>
<xsl:for-each select="$def-nodes/*">
<xsl:if test="not($cont-nodes/*[name() = name(current())])">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:template>
<!--
copy-with-defaults - copy elements supplying defaults for any that are
missing or empty.
Usage: <copy-with-defaults content="{$content}">
<foo>foo</foo>
<bar>bar</bar>
</copy-with-defaults>
Copies $content plus any child elements that do not exist in $content,
substituting empty elements in $content with any child elements of the
same name.
-->
<xsl:template name="copy-with-defaults">
<xsl:param name="defaults"/>
<xsl:param name="content"/>
<xsl:variable name="def-nodes" select="exsl:node-set($defaults)"/>
<xsl:variable name="cont-nodes" select="exsl:node-set($content)"/>
<xsl:for-each select="$def-nodes/*">
<xsl:if test="not($cont-nodes/*[name() = name(current())])">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$cont-nodes/*">
<xsl:choose>
<xsl:when test="not(node())">
<xsl:copy-of select="$def-nodes/*[name() = name(current())]"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="."/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
<!--
get - gets the value of a named element inside a <build>.
Usage: <get name="foobar" [ default="value" ]/>
Used inside a <build> evaluates to the value of the build's <foobar>
element, or to the value of the optional 'default' attribute if there is
no such element.
-->
<xsl:template name="get">
<xsl:param name="content"/>
<xsl:param name="name"/>
<xsl:param name="default"/>
<strip>
<xsl:choose>
<xsl:when test="ancestor-or-self::build/*[name() = $name]">
<xsl:apply-templates select="ancestor-or-self::build/*[name() = $name]/node()"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$default"/>
</xsl:otherwise>
</xsl:choose>
</strip>
</xsl:template>
<!--
strip - strips leading and trailing whitespace
Usage: <strip>
foobar
</strip>
Strips leading and trailing whitespace if the content is text only,
otherwise copies the content unchanged.
-->
<xsl:template name="strip">
<xsl:param name="content"/>
<xsl:variable name="len" select="string-length($content)"/>
<xsl:variable name="norm" select="normalize-space($content)"/>
<xsl:variable name="normlen" select="string-length($norm)"/>
<xsl:choose>
<xsl:when test="exsl:node-set($content)/*">
<xsl:copy-of select="$content"/>
</xsl:when>
<xsl:when test="substring($content, 1, 1) != substring($norm, 1, 1)">
<xsl:call-template name="strip">
<xsl:with-param name="content" select="substring($content, 2)"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="substring($content, $len, 1) != substring($norm, $normlen, 1)">
<xsl:call-template name="strip">
<xsl:with-param name="content" select="substring($content, 1, $len - 1)"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$content"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</bot>

View File

@@ -0,0 +1,29 @@
# Run the test suites
# Running them one at a time gives more readable results and shows up errors
# in the suite names.
set -e
cd tests
case `uname -sm` in
CYGWIN*|MINGW32*) PATH=../lib:$PATH ;;
Darwin*) DYLD_LIBRARY_PATH=../lib:$DYLD_LIBRARY_PATH ;;
*) LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ;;
esac
test -x test_gui && TEST_GUI=./test_gui
ERR=0
for prog in ./test $TEST_GUI; do
if [ -x $prog ]; then
SUITES=`$prog -l | grep '^ [^ ]'`
for SUITE in $SUITES; do
echo
echo $SUITE
echo $SUITE | sed 's/./-/g'
$prog $SUITE || ERR=1
echo
done
fi
done
exit $ERR

View File

@@ -0,0 +1,300 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: testdrive-inc.xml
Purpose: Declarations for the testdrive build slave
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xsl:version="1.0">
<xi:include href="include.xml" xpointer="xpointer(*/*)"/>
<!--
checkout - build step for source checkout.
Usage: as <svn> with additional <command> element and defaults for
<baseURL> and <defaultBranch>
Typically just:
<checkout/>
for the trunk, or:
<checkout branch="branches/WX_2_8_BRANCH"/>
to checkout a branch.
-->
<xsl:template name="checkout">
<xsl:param name="content"/>
<xsl:param name="branch" select="'trunk'"/>
<xsl:variable name="nodes" select="exsl:node-set($content)"/>
<testdrive-svn>
<xsl:if test="not($nodes/svnurl)">
<xsl:if test="not($nodes/baseURL)">
<baseURL><SVN_URL/></baseURL>
</xsl:if>
<xsl:if test="not($nodes/defaultBranch)">
<defaultBranch><xsl:value-of select="$branch"/></defaultBranch>
</xsl:if>
</xsl:if>
<xsl:if test="not($nodes/command)">
<profile/>
<post-checkout/>
</xsl:if>
<xsl:copy-of select="$content"/>
</testdrive-svn>
</xsl:template>
<xsl:template name="post-checkout">
<command>
mkdir -p $TOPDIR
chown $USER $TOPDIR
rm -rf $BUILDDIR
cp -pR . $BUILDDIR || { cd; rm -rf $BUILDDIR; exit 1; }
</command>
</xsl:template>
<!--
configure - make disable-precomp-headers a default configure option for
the testdrive, and post process the Makefiles to use ccache.
Usage: <configure options="-with-foobar"/>
-->
<xsl:template name="configure">
<xsl:param name="content"/>
<xsl:param name="options"/>
<configure>
<copy-with-defaults content="{$content}">
<command>./configure --disable-precomp-headers <xsl:value-of select="$options"/></command>
</copy-with-defaults>
<command>find . -name Makefile | xargs perl -pi -e 's/^(?:CC|CXX) = /$&amp;ccache /'</command>
</configure>
</xsl:template>
<!--
setup - a build step that makes sure any prerequisites are set up for
the current testdrive build.
Usage: <setup/>
<setup cppunit-options="-host=i686-apple-darwin8"/>
One of the things it sets up is cppunit. There is more than one compiler
available on some of the testdrive machines, and generally speaking
cppuint needs to be compiled by the same one that will be used for the
build.
-->
<xsl:template name="setup">
<xsl:param name="content"/>
<xsl:param name="options"/>
<xsl:param name="ccache-configure" select="'./configure INSTALL=./install-sh\ -c --prefix=$HOME --bindir=$OPTDIR/bin'"/>
<xsl:param name="ccache-options"/>
<xsl:param name="cppunit-configure" select="'./configure INSTALL=config/install-sh\ -c --prefix=$HOME --bindir=$OPTDIR/bin --libdir=$OPTDIR/lib --disable-static'"/>
<xsl:param name="cppunit-options"/>
<shellcommand>
<description>setting up</description>
<descriptionDone>set up</descriptionDone>
<haltOnFailure/>
<command>
MINSPACE=1000000
DSPACE=`df -Pk $BUILDDIR | tail -1 | awk '{ print $4 }'`
if [ $DSPACE -lt $MINSPACE ]; then
echo "Disk space low, skipping build"
exit 1
fi
if [ -z "$CCACHE_DIR" ]; then
gunzip -c $HOME/src/ccache-*.tar.gz | tar xf -
cd ccache-*
<xsl:value-of select="concat($ccache-configure, ' ', $ccache-options, ' ', $options)"/>
make
strip ccache
make install
cd $BUILDDIR
rm -r ccache-*
fi
if { cppunit-config --version || "$CPPUNIT_CONFIG" --version; } 2>/dev/null; then
HAVE_CPPUNIT=1
fi
if [ -z "$HAVE_CPPUNIT" ]; then
gunzip -c $HOME/src/cppunit-*.tar.gz | tar xf -
cd cppunit-*
<xsl:value-of select="concat($cppunit-configure, ' ', $cppunit-options, ' ', $options)"/>
make install-strip
chmod +x $OPTDIR/bin/cppunit-config
cd $BUILDDIR
rm -rf cppunit-*
fi
</command>
</shellcommand>
</xsl:template>
<!--
builddir - override <builddir> to accept a full path
Usage: <builddir>/tmp/wx/foobar</builddir>
Normally builddir is a single directory name not a full path. Override
to allow a working directory to be selected on the remote testdrive
machine.
The actual builddir (i.e. last part 'foobar') as usual must be unique
across all the builds of all the slaves.
-->
<xsl:template name="builddir">
<xsl:param name="content"/>
<builddir>
<basename><xsl:copy-of select="$content"/></basename>
</builddir>
</xsl:template>
<!--
steps - overrides <steps> to prepend <profile/> and <prologue/> and
append <epilogue/> to the <command/> of each build step.
Usage: as <steps>
The differences between <profile/> and <prologue/> are:
1. <profile/> is also used by <checkout> for its post checkout command,
<proglogue/> isn't.
2. <profile/> has access to the build's fields, for example it can
use <get name="builddir"/>, while <prologue/> can't.
-->
<xsl:template name="steps">
<xsl:param name="content"/>
<xsl:variable name="profile"><profile/></xsl:variable>
<steps>
<xsl:for-each select="exsl:node-set($content)/*">
<xsl:choose>
<xsl:when test="contains(name(), 'svn')">
<xsl:copy-of select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:copy-of select="$profile"/>
<prologue/>
<xsl:copy-of select="node()"/>
<xsl:if test="not(command)">
<command/>
</xsl:if>
<epilogue/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</steps>
</xsl:template>
<!--
profile - see <steps> above.
-->
<xsl:template name="profile">
<command>
set -e
uname -smnr
umask 022
LANG=C
TOPDIR=<get name="builddir"/>
BUILDDIR=$TOPDIR/build
OPTDIR=$HOME/opt/<basename><get name="builddir"/></basename>
</command>
</xsl:template>
<!--
prologue - see <steps> above.
-->
<xsl:template name="prologue">
<command>
INSTALLDIR=$TOPDIR/install
case `uname -sm` in
Linux*86*) PATH=$HOME/linux-x86/bin:$PATH ;;
esac
PATH=$OPTDIR/bin:$PATH
LD_LIBRARY_PATH=$BUILDDIR/lib:$OPTDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
if { ccache -V; } >/dev/null 2>&amp;1; then
CCACHE_DIR=$TOPDIR/ccache
export CCACHE_DIR
ccache -M 90M
fi
cd $BUILDDIR
<if-del-on-fail>trap 'cd; rm -rf $BUILDDIR' EXIT</if-del-on-fail>
</command>
</xsl:template>
<!--
epilogue - see <steps> above.
-->
<xsl:template name="epilogue">
<xsl:if test="position() != last()">
<if-del-on-fail>
<command>trap '' EXIT</command>
</if-del-on-fail>
</xsl:if>
</xsl:template>
<!--
if-del-on-fail - used in the context of a build step, copies its content
if the build step should cleanup on failure.
Usage: <if-del-on-fail>foobar</if-del-on-fail>
On the testdrive the working directory is deleted after a build to save
space. If the step has <haltOnFailure/> (which is the default or
<configure> and <compile> steps) then this cleanup needs to happen
whenever the step fails.
-->
<xsl:template name="if-del-on-fail">
<xsl:param name="content"/>
<xsl:if test = "position() = last() or
haltOnFailure = '' or
haltOnFailure = 'true' or
(not(haltOnFailure) and
(name() = 'configure' or name() = 'compile'))">
<xsl:copy-of select="$content"/>
</xsl:if>
</xsl:template>
<!--
Add slave locks so that each testdrive machine only runs one bulid at a
time
-->
<xsl:for-each select="../build/sandbox">
<xsl:if test="not(../preceding-sibling::build[sandbox = current()])">
<slavelock>
<name><xsl:apply-templates select="node()"/></name>
</slavelock>
</xsl:if>
</xsl:for-each>
<xsl:template name="sandbox">
<xsl:param name="content"/>
<sandbox><xsl:copy-of select="$content"/></sandbox>
<lock><xsl:copy-of select="$content"/></lock>
</xsl:template>
<!--
basename - returns the final component of a path
Usage: <basename>/foo/bar</basename>
Evaluates to 'bar'.
-->
<xsl:template name="basename">
<xsl:param name="path"/>
<xsl:choose>
<xsl:when test="contains($path, '/')">
<xsl:call-template name="basename">
<xsl:with-param name="path" select="substring-after($path, '/')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$path"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</bot>

View File

@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: testdrive.xml
Purpose: Buildbot configuration for the HP Testdrive.
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xsl:version="1.0">
<xi:include href="testdrive-inc.xml" xpointer="xpointer(*/*)"/>
<!--
Notes:
The list of available machines is here:
http://www.testdrive.hp.com/current.shtml
Currently only unix hosts are supported, with hopefully one or more
Windows machines to follow.
<sandbox> specifies the remote machine that will run the job, or it can
be 'debug' in which case the sandbox will just echo the commands.
<builddir> specifies an absolute path on the remote machine for the
build, rather than the usual single directory name. The last component
also specifies a subdirectory on the master for logs, which as usual
must be unique across all slaves.
An extra build step <setup> can be used after <checkout> to set up ccache
and cppunit. Cppunit generally needs to be compiled by the same compiler
that will be used for wxWidgets, add configure options using the
'cppunit-options' attribute when needed, e.g.:
<setup cppunit-options="CC=cc CXX=CC"/>
Cross compilers available on the Linux x86 machines (more coming):
powerpc-apple-darwin8
i686-apple-darwin8
i386-mingw32 (with cppunit installed under $HOME/opt/mingw345)
Please limit the number of quick builds to one unix, one Windows and one
Mac per branch. And please don't load up all the cpus of a remote machine
at once with make -j.
-->
<!--
Unix Quick Builds
-->
<build>
<name>Linux x86_64 wxGTK Trunk</name>
<sandbox>td162.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_gtk</builddir>
<scheduler>trunk_quick</scheduler>
<steps>
<checkout/>
<setup/>
<configure/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-tests/>
<run-tests/>
</steps>
</build>
<build>
<name>Linux x86_64 wxGTK Stable</name>
<sandbox>td166.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_gtk_stable</builddir>
<scheduler>stable_quick</scheduler>
<steps>
<checkout branch="{$STABLE_BRANCH}"/>
<setup/>
<configure/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
<run-tests/>
</steps>
</build>
<!--
Mac Quick Builds
-->
<build>
<name>OSX PowerPC wxMac Trunk</name>
<sandbox>td179.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_mac</builddir>
<scheduler>trunk_quick</scheduler>
<steps>
<checkout/>
<setup cppunit-options="--host=powerpc-apple-darwin8"/>
<configure options="--host=powerpc-apple-darwin8"/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-tests/>
</steps>
</build>
<build>
<name>OSX Intel wxMac Stable</name>
<sandbox>td186.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_mac_stable</builddir>
<scheduler>stable_quick</scheduler>
<steps>
<checkout branch="{$STABLE_BRANCH}"/>
<setup cppunit-options="--host=i686-apple-darwin8"/>
<configure options="--host=i686-apple-darwin8"/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
</steps>
</build>
<!--
Windows Quick Builds
-->
<build>
<name>MinGW32 wxMSW Trunk</name>
<sandbox>td185.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_msw</builddir>
<scheduler>trunk_quick</scheduler>
<steps>
<checkout/>
<configure options="--host=i386-mingw32 --with-cppunit-prefix=$HOME/opt/mingw345"/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-tests/>
</steps>
</build>
<build>
<name>MinGW32 wxMSW Stable</name>
<sandbox>td189.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_msw_stable</builddir>
<scheduler>stable_quick</scheduler>
<steps>
<checkout branch="{$STABLE_BRANCH}"/>
<configure options="--host=i386-mingw32 --with-cppunit-prefix=$HOME/opt/mingw345"/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
</steps>
</build>
<!--
Daily builds
-->
<build>
<name>FreeBSD x86 wxX11 Stable</name>
<sandbox>td152.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_freebsd_stable</builddir>
<scheduler>daily_6am</scheduler>
<steps>
<checkout branch="{$STABLE_BRANCH}"/>
<setup/>
<configure options="--with-x11"/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
<run-tests/>
</steps>
</build>
<build>
<name>HP-UX 11i PA-RISC gcc wxMotif Stable</name>
<sandbox>td192.testdrive.hp.com</sandbox>
<builddir>/tmp/wx/td_hpux_pa_stable</builddir>
<scheduler>daily_6am</scheduler>
<steps>
<checkout branch="{$STABLE_BRANCH}"/>
<setup/>
<configure/>
<compile/>
<compile-samples/>
<compile-utils/>
<compile-contrib/>
<compile-tests/>
<run-tests/>
</steps>
</build>
</bot>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<element name="bot">
<!-- todo -->
</element>
</schema>

View File

@@ -0,0 +1,304 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: embedded.xsl
Purpose: Embedded XSLT
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<transform xmlns="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:XSL="XSL"
version="1.0">
<namespace-alias stylesheet-prefix="XSL" result-prefix="xsl"/>
<output indent="yes"/>
<variable
name="top-level-base"
select="/*/xsl:import |
/*/xsl:include |
/*/xsl:attribute-set |
/*/xsl:character-map |
/*/xsl:decimal-format |
/*/xsl:function |
/*/xsl:import-schema |
/*/xsl:key |
/*/xsl:namespace-alias |
/*/xsl:output |
/*/xsl:param |
/*/xsl:preserve-space |
/*/xsl:strip-space |
/*/xsl:variable"/>
<variable
name="top-level"
select="$top-level-base |
/*/xsl:template"/>
<variable
name="top-level-copy"
select="$top-level-base |
/*/xsl:template
[not(following-sibling::xsl:template/@name = @name)]"/>
<template match="/">
<XSL:transform>
<copy-of select="/*/namespace::*"/>
<for-each select="/*/@xsl:*">
<attribute name="{local-name()}">
<value-of select="."/>
</attribute>
</for-each>
<apply-templates mode="copy-xsl" select="$top-level-copy"/>
<apply-templates select="*"/>
</XSL:transform>
</template>
<template match="*">
<variable name="pattern">
<call-template name="coord-pattern"/>
</variable>
<XSL:template match="*[generate-id() = generate-id(document('', /){$pattern})]">
<copy-of select="namespace::*"/>
<choose>
<when test="/*/xsl:template[@name = name(current())]">
<call-template name="expand"/>
</when>
<when test="count($top-level | .) != count($top-level)">
<call-template name="create-context"/>
</when>
</choose>
</XSL:template>
<if test="not(self::xsl:*)">
<apply-templates select="node()"/>
</if>
</template>
<template match="text()"/>
<template match="@*">
<copy/>
</template>
<template mode="copy-xsl" match="*[/*/xsl:template/@name = name()]">
<choose>
<when test="ancestor::xsl:template[@name = name(current())]">
<XSL:choose>
<XSL:when test="name() = '{name()}'">
<XSL:copy>
<call-template name="copy-xsl-children"/>
</XSL:copy>
</XSL:when>
<XSL:otherwise>
<copy>
<call-template name="copy-xsl-children"/>
</copy>
</XSL:otherwise>
</XSL:choose>
</when>
<otherwise>
<call-template name="expand"/>
</otherwise>
</choose>
</template>
<template mode="copy-xsl" match="@*|node()">
<copy>
<call-template name="copy-xsl-children"/>
</copy>
</template>
<template name="copy-xsl-children">
<copy-of select="namespace::*"/>
<apply-templates mode="copy-xsl" select="@*|node()"/>
</template>
<template name="coord-pattern">
<param name="element" select="."/>
<for-each select="$element/ancestor-or-self::*">
<text>/*[</text>
<value-of select="count(preceding-sibling::*) + 1"/>
<text>]</text>
</for-each>
</template>
<template name="expand">
<variable name="params" select="/*/xsl:template[@name = name(current())]/xsl:param"/>
<XSL:call-template name="{name()}">
<if test="$params">
<XSL:with-param name="{$params[1]/@name}">
<choose>
<when test="ancestor-or-self::xsl:*">
<apply-templates mode="copy-xsl" select="node()"/>
</when>
<otherwise>
<variable name="pattern">
<call-template name="coord-pattern"/>
</variable>
<XSL:apply-templates select="{$pattern}/node()"/>
</otherwise>
</choose>
</XSL:with-param>
</if>
<for-each select="@*">
<XSL:with-param name="{name()}">
<call-template name="avt">
<with-param name="string" select="."/>
</call-template>
</XSL:with-param>
</for-each>
</XSL:call-template>
</template>
<template name="create-context">
<param name="elements" select="ancestor-or-self::*
[last() - 1 > position()]
/preceding-sibling::xsl:variable | ."/>
<variable name="pattern">
<call-template name="coord-pattern">
<with-param name="element" select="$elements[1]"/>
</call-template>
</variable>
<variable name="parent-pattern">
<call-template name="coord-pattern">
<with-param name="element" select="$elements[1]/.."/>
</call-template>
</variable>
<XSL:for-each select="{$parent-pattern}/*">
<XSL:if test="count({$pattern} | .) = 1">
<choose>
<when test="$elements[1]/self::xsl:*">
<apply-templates mode="copy-xsl" select="$elements[1]"/>
<if test="$elements[2]">
<call-template name="create-context">
<with-param name="elements" select="$elements[position() > 1]"/>
</call-template>
</if>
</when>
<otherwise>
<copy>
<apply-templates select="@*"/>
<if test="node()">
<XSL:apply-templates select="node()"/>
</if>
</copy>
</otherwise>
</choose>
</XSL:if>
</XSL:for-each>
</template>
<template name="before">
<param name="string"/>
<param name="target"/>
<variable name="apos">'</variable>
<variable name="quot">"</variable>
<variable name="posapos" select="string-length(substring-before(
concat($string, $apos), $apos))"/>
<variable name="posquot" select="string-length(substring-before(
concat($string, $quot), $quot))"/>
<variable name="postarg" select="string-length(substring-before(
concat($string, $target), $target))"/>
<choose>
<when test="$posapos = $postarg and $posquot = $postarg">
<value-of select="$string"/>
</when>
<when test="$posapos > $postarg and $posquot > $postarg">
<value-of select="substring($string, 1, $postarg)"/>
</when>
<otherwise>
<variable name="delim">
<choose>
<when test="$posquot > $posapos">'</when>
<otherwise>"</otherwise>
</choose>
</variable>
<value-of select="substring-before($string, $delim)"/>
<value-of select="$delim"/>
<variable name="mid" select="substring-after($string, $delim)"/>
<choose>
<when test="contains($mid, $delim)">
<value-of select="substring-before($mid, $delim)"/>
<value-of select="$delim"/>
<call-template name="before">
<with-param name="string"
select="substring-after($mid, $delim)"/>
<with-param name="target"
select="$target"/>
</call-template>
</when>
<otherwise>
<value-of select="$mid"/>
</otherwise>
</choose>
</otherwise>
</choose>
</template>
<template name="avt">
<param name="string"/>
<variable name="before1" select="substring-before(concat($string, '{'), '{')"/>
<variable name="len1" select="string-length($before1)"/>
<variable name="before2" select="substring-before(concat($string, '}}'), '}}')"/>
<variable name="len2" select="string-length($before2)"/>
<choose>
<when test="$before1 = $string and $before2 = $string">
<value-of select="$string"/>
</when>
<when test="$len2 &lt; $len1">
<value-of select="$before2"/>
<text>}</text>
<call-template name="avt">
<with-param name="string" select="substring($string, $len2 + 3)"/>
</call-template>
</when>
<when test="substring($string, $len1 + 2, 1) = '{'">
<value-of select="$before1"/>
<text>{</text>
<call-template name="avt">
<with-param name="string" select="substring($string, $len1 + 3)"/>
</call-template>
</when>
<otherwise>
<variable name="mid" select="substring($string, $len1 + 2)"/>
<variable name="expr">
<call-template name="before">
<with-param name="string" select="$mid"/>
<with-param name="target">}</with-param>
</call-template>
</variable>
<value-of select="$before1"/>
<XSL:copy-of select="{$expr}"/>
<call-template name="avt">
<with-param name="string" select="substring($mid, string-length($expr) + 2)"/>
</call-template>
</otherwise>
</choose>
</template>
</transform>

View File

@@ -0,0 +1,23 @@
#!/bin/sh
#############################################################################
# Name: preprocess
# Purpose: Expand embedded xslt
# Author: Mike Wetherell
# RCS-ID: $Id$
# Copyright: (c) 2007 Mike Wetherell
# Licence: wxWidgets licence
#############################################################################
if [ $# -eq 0 -o ! -f "$1" ]; then
echo "Usage: $0 FILE..."
echo "Expands embedded xslt"
exit 1
fi >&2
DIR="`dirname $0`"
while [ $# -gt 0 ]; do
xsltproc --xinclude $DIR/embedded.xsl "$1" 2>/dev/null |
xsltproc --xinclude - "$1"
shift
done

View File

@@ -0,0 +1,65 @@
#!/bin/sh
#############################################################################
# Name: validate
# Purpose: Reports errors in wxWidgets buildbot configuration files
# Author: Mike Wetherell
# RCS-ID: $Id$
# Copyright: (c) 2007 Mike Wetherell
# Licence: wxWidgets licence
#############################################################################
if [ $# -eq 0 -o ! -f "$1" ]; then
echo "Usage: $0 FILE..."
echo "Reports errors in wxWidgets buildbot configuration files"
exit 1
fi >&2
DIR="`dirname $0`"
WORKDIR="${TMPDIR:-/tmp}/wx.$$"
mkdir "$WORKDIR" || exit
trap 'rm -rf "$WORKDIR"' EXIT
WORKPAT=`echo "$WORKDIR" | sed 's|[^A-Za-z0-9/]|.|g'`
# Change the names of the temporary files in an error message to something
# to something more informative
#
error()
{
if [ -n "$1" ]; then
echo "$1" |
sed "s|file ${WORKPAT}|${WORKPAT}|g;\
s|${WORKPAT}/XSLT|generated XSLT (from $NAME)|g;\
s|${WORKPAT}/prep|$NAME (preprocessed)|g"
fi
}
# This is pretty ugly, sorry. It tries not to print the same error more than
# once, and it tries to send success message to stdout and errors to stderr.
# It still doesn't return a meaningful exit code.
#
while [ $# -gt 0 ]
do
INPUT="$1"
NAME="`echo \"$INPUT\" | sed 's/[|\]/\\\&/g'`"
XSLT="$WORKDIR/XSLT"
OUTPUT="$WORKDIR/prep"
if STDERR=`xsltproc --xinclude -o "$XSLT" $DIR/embedded.xsl "$INPUT" 2>&1`
then
STDERR=`xsltproc --xinclude -o "$OUTPUT" "$XSLT" "$INPUT" 2>&1` \
&& OK=true || OK=false
error "$STDERR" >&2
if $OK; then
STDERR=`xmllint --noout --schema $DIR/bot.xsd "$OUTPUT" 2>&1` \
&& OUT=1 || OUT=2
error "$STDERR" >&$OUT
fi
else
error "$STDERR" >&2
fi
rm -f "$XSLT" "$OUTPUT"
shift
done

View File

@@ -1,5 +0,0 @@
.m*
config.dmc
makefile.dmc
vc_mswhdll
vc_mswuhdll

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -57,7 +57,7 @@ WXUNIV = 0
# Compile Unicode build of wxWidgets? [0,1]
!ifndef UNICODE
UNICODE = 0
UNICODE = 1
!endif
# Use MSLU library when building Unicode version. [0,1]
@@ -118,6 +118,11 @@ USE_AUI = 1
USE_RICHTEXT = 1
!endif
# Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]
!ifndef USE_STC
USE_STC = 1
!endif
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
!ifndef USE_OPENGL
USE_OPENGL = 0

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -11,124 +11,127 @@
# -------------------------------------------------------------------------
# C compiler
CC = gcc
CC := gcc
# C++ compiler
CXX = g++
CXX := g++
# Standard flags for CC
CFLAGS =
CFLAGS :=
# Standard flags for C++
CXXFLAGS =
CXXFLAGS :=
# Standard preprocessor flags (common for CC and CXX)
CPPFLAGS =
CPPFLAGS :=
# Standard linker flags
LDFLAGS =
LDFLAGS :=
# The C preprocessor
CPP = $(CC) -E
CPP := $(CC) -E
# What type of library to build? [0,1]
SHARED = 0
SHARED := 0
# Build wxUniversal instead of native port? [0,1]
WXUNIV = 0
WXUNIV := 0
# Compile Unicode build of wxWidgets? [0,1]
UNICODE = 0
UNICODE := 1
# Use MSLU library when building Unicode version. [0,1]
MSLU = 0
MSLU := 0
# Type of compiled binaries [debug,release]
BUILD = debug
BUILD := debug
# Should debugging info be included in the executables? The default value
# "default" means that debug info will be included if BUILD=debug
# and not included if BUILD=release. [0,1,default]
DEBUG_INFO = default
DEBUG_INFO := default
# Should __WXDEBUG__ be defined? The default value "default" means that it will
# be defined if BUILD=debug and not defined if BUILD=release. [0,1,default]
DEBUG_FLAG = default
DEBUG_FLAG := default
# Multiple libraries or single huge monolithic one? [0,1]
MONOLITHIC = 0
MONOLITHIC := 0
# Build GUI libraries? [0,1]
USE_GUI = 1
USE_GUI := 1
# Build wxHTML library (USE_GUI must be 1)? [0,1]
USE_HTML = 1
USE_HTML := 1
# Build multimedia library (USE_GUI must be 1)? [0,1]
USE_MEDIA = 1
USE_MEDIA := 1
# Build wxXRC library (USE_GUI must be 1)? [0,1]
USE_XRC = 1
USE_XRC := 1
# Build wxAUI library (USE_GUI must be 1)? [0,1]
USE_AUI = 1
USE_AUI := 1
# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1
USE_RICHTEXT := 1
# Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]
USE_STC := 1
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0
USE_OPENGL := 0
# Build ODBC database classes (USE_GUI must be 1)? [0,1]
USE_ODBC = 0
USE_ODBC := 0
# Build quality assurance classes library (USE_GUI must be 1)? [0,1]
USE_QA = 0
USE_QA := 0
# Enable exceptions in compiled code. [0,1]
USE_EXCEPTIONS = 1
USE_EXCEPTIONS := 1
# Enable run-time type information (RTTI) in compiled code. [0,1]
USE_RTTI = 1
USE_RTTI := 1
# Enable threading in compiled code. [0,1]
USE_THREADS = 1
USE_THREADS := 1
# Link with gdiplus.lib? (Needed for wxGraphicsContext, will also set wxUSE_GRAPHICS_CONTEXT) [0,1]
USE_GDIPLUS = 0
USE_GDIPLUS := 0
# Is this official build by wxWidgets developers? [0,1]
OFFICIAL_BUILD = 0
OFFICIAL_BUILD := 0
# Use this to name your customized DLLs differently
VENDOR = custom
VENDOR := custom
#
WX_FLAVOUR =
WX_FLAVOUR :=
#
WX_LIB_FLAVOUR =
WX_LIB_FLAVOUR :=
# Name of your custom configuration. This affects directory
# where object files are stored as well as the location of
# compiled .lib files and setup.h under the lib/ toplevel directory.
CFG =
CFG :=
# Compiler flags needed to compile test suite in tests directory. If you want
# to run the tests, set it so that the compiler can find CppUnit headers.
CPPUNIT_CFLAGS =
CPPUNIT_CFLAGS :=
# Linker flags needed to link test suite in tests directory. If you want
# to run the tests, include CppUnit library here.
CPPUNIT_LIBS =
CPPUNIT_LIBS :=
# Version of C runtime library to use. You can change this to
# static if SHARED=0, but it is highly recommended to not do
# it if SHARED=1 unless you know what you are doing. [dynamic,static]
RUNTIME_LIBS = dynamic
RUNTIME_LIBS := dynamic
# Set the version of your Mingw installation here.
# "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
# "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
GCC_VERSION = 3
GCC_VERSION := 3

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -38,7 +38,7 @@ SHARED = 0
WXUNIV = 0
# Compile Unicode build of wxWidgets? [0,1]
UNICODE = 0
UNICODE = 1
# Use MSLU library when building Unicode version. [0,1]
MSLU = 0
@@ -89,6 +89,9 @@ USE_AUI = 1
# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1
# Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]
USE_STC = 1
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -41,7 +41,7 @@ WXUNIV = 0
# Compile Unicode build of wxWidgets? [0,1]
# 1 - Unicode
UNICODE = 0
UNICODE = 1
# Type of compiled binaries [debug,release]
BUILD = debug
@@ -80,6 +80,9 @@ USE_AUI = 1
# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1
# Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]
USE_STC = 1
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,244 +1,271 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "wxregex"=wx_wxregex.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxzlib"=wx_wxzlib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxpng"=wx_wxpng.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxjpeg"=wx_wxjpeg.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxtiff"=wx_wxtiff.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxexpat"=wx_wxexpat.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "base"=wx_base.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "net"=wx_net.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "core"=wx_core.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "adv"=wx_adv.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "media"=wx_media.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "odbc"=wx_odbc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "dbgrid"=wx_dbgrid.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "html"=wx_html.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "qa"=wx_qa.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xml"=wx_xml.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xrc"=wx_xrc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "aui"=wx_aui.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "richtext"=wx_richtext.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "gl"=wx_gl.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "wxregex"=wx_wxregex.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxzlib"=wx_wxzlib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxpng"=wx_wxpng.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxjpeg"=wx_wxjpeg.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxtiff"=wx_wxtiff.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxexpat"=wx_wxexpat.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxscintilla"=wx_wxscintilla.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "base"=wx_base.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "net"=wx_net.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "core"=wx_core.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "adv"=wx_adv.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "media"=wx_media.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "odbc"=wx_odbc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "dbgrid"=wx_dbgrid.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "html"=wx_html.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "qa"=wx_qa.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xml"=wx_xml.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xrc"=wx_xrc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "aui"=wx_aui.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "richtext"=wx_richtext.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "stc"=wx_stc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxscintilla
End Project Dependency
}}}
###############################################################################
Project: "gl"=wx_gl.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,479 +1,479 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "adv"=.\wx_adv.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "aui"=.\wx_aui.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Project: "base"=.\wx_base.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
}}}
###############################################################################
Project: "core"=.\wx_core.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "dbgrid"=.\wx_dbgrid.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name odbc
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Project: "gl"=.\wx_gl.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "html"=.\wx_html.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "media"=.\wx_media.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "net"=.\wx_net.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "odbc"=.\wx_odbc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "qa"=.\wx_qa.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
}}}
###############################################################################
Project: "richtext"=.\wx_richtext.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
Begin Project Dependency
Project_Dep_Name html
End Project Dependency
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
}}}
###############################################################################
Project: "wxexpat"=.\wx_wxexpat.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxjpeg"=.\wx_wxjpeg.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxpng"=.\wx_wxpng.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
}}}
###############################################################################
Project: "wxregex"=.\wx_wxregex.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxtiff"=.\wx_wxtiff.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxzlib"=.\wx_wxzlib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xml"=.\wx_xml.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "xrc"=.\wx_xrc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
Begin Project Dependency
Project_Dep_Name html
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "adv"=.\wx_adv.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "aui"=.\wx_aui.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Project: "base"=.\wx_base.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
}}}
###############################################################################
Project: "core"=.\wx_core.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "dbgrid"=.\wx_dbgrid.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name odbc
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Project: "gl"=.\wx_gl.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "html"=.\wx_html.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "media"=.\wx_media.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
}}}
###############################################################################
Project: "net"=.\wx_net.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "odbc"=.\wx_odbc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "qa"=.\wx_qa.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name core
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
}}}
###############################################################################
Project: "richtext"=.\wx_richtext.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxtiff
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxjpeg
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxpng
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
Begin Project Dependency
Project_Dep_Name html
End Project Dependency
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
}}}
###############################################################################
Project: "wxexpat"=.\wx_wxexpat.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxjpeg"=.\wx_wxjpeg.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxpng"=.\wx_wxpng.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
}}}
###############################################################################
Project: "wxregex"=.\wx_wxregex.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxtiff"=.\wx_wxtiff.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wxzlib"=.\wx_wxzlib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "xml"=.\wx_xml.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wxzlib
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxregex
End Project Dependency
Begin Project Dependency
Project_Dep_Name wxexpat
End Project Dependency
Begin Project Dependency
Project_Dep_Name base
End Project Dependency
}}}
###############################################################################
Project: "xrc"=.\wx_xrc.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name xml
End Project Dependency
Begin Project Dependency
Project_Dep_Name html
End Project Dependency
Begin Project Dependency
Project_Dep_Name adv
End Project Dependency
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

998
build/msw/wx_stc.dsp Normal file
View File

@@ -0,0 +1,998 @@
# Microsoft Developer Studio Project File - Name="wx_stc" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=stc - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_stc.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_stc.mak" CFG="stc - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "stc - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "stc - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "stc - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "stc - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswunivu" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmswuniv290u_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswunivu" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmswuniv290u_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswunivu" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290u_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswunivu" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290u_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmswuniv29u_core.lib ..\..\lib\vc_dll\wxbase29u.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290u_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29u_stc.lib"
# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmswuniv29u_core.lib ..\..\lib\vc_dll\wxbase29u.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290u_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29u_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswunivud" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmswuniv290ud_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswunivud" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmswuniv290ud_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswunivud" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290ud_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswunivud" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290ud_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmswuniv29ud_core.lib ..\..\lib\vc_dll\wxbase29ud.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290ud_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29ud_stc.lib" /debug
# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmswuniv29ud_core.lib ..\..\lib\vc_dll\wxbase29ud.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290ud_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29ud_stc.lib" /debug
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswuniv" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmswuniv290_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswuniv" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmswuniv290_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\lib\vc_dll\mswuniv" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\lib\vc_dll\mswuniv" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmswuniv29_core.lib ..\..\lib\vc_dll\wxbase29.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29_stc.lib"
# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmswuniv29_core.lib ..\..\lib\vc_dll\wxbase29.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswunivd" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmswuniv290d_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswunivd" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmswuniv290d_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\lib\vc_dll\mswunivd" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290d_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\lib\vc_dll\mswunivd" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmswuniv290d_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmswuniv29d_core.lib ..\..\lib\vc_dll\wxbase29d.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290d_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29d_stc.lib" /debug
# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmswuniv29d_core.lib ..\..\lib\vc_dll\wxbase29d.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmswuniv290d_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmswuniv29d_stc.lib" /debug
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswu" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmsw290u_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\mswu" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmsw290u_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswu" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290u_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswu" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290u_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmsw29u_core.lib ..\..\lib\vc_dll\wxbase29u.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290u_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29u_stc.lib"
# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmsw29u_core.lib ..\..\lib\vc_dll\wxbase29u.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290u_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29u_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswud" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmsw290ud_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswud" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmsw290ud_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswud" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290ud_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\lib\vc_dll\mswud" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290ud_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmsw29ud_core.lib ..\..\lib\vc_dll\wxbase29ud.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290ud_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29ud_stc.lib" /debug
# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmsw29ud_core.lib ..\..\lib\vc_dll\wxbase29ud.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290ud_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29ud_stc.lib" /debug
!ELSEIF "$(CFG)" == "stc - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\msw" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmsw290_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_dll\msw" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_stcdll.pch" /Fd..\..\lib\vc_dll\wxmsw290_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /i "..\..\lib\vc_dll\msw" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "__WXMSW__" /i "..\..\lib\vc_dll\msw" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmsw29_core.lib ..\..\lib\vc_dll\wxbase29.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29_stc.lib"
# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintilla.lib ..\..\lib\vc_dll\wxmsw29_core.lib ..\..\lib\vc_dll\wxbase29.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswd" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmsw290d_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_dll\mswd" /I "..\..\include" /W4 /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_stcdll.pch" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxmsw290d_stc_vc_custom.pdb /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c
# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\lib\vc_dll\mswd" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290d_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\lib\vc_dll\mswd" /i "..\..\include" /d "WXBUILDING" /d WXDLLNAME=wxmsw290d_stc_vc_custom /i "..\..\src\tiff\libtiff" /i "..\..\src\jpeg" /i "..\..\src\png" /i "..\..\src\zlib" /i "..\..\src\regex" /i "..\..\src\expat\lib" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmsw29d_core.lib ..\..\lib\vc_dll\wxbase29d.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290d_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29d_stc.lib" /debug
# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ..\..\lib\vc_dll\wxscintillad.lib ..\..\lib\vc_dll\wxmsw29d_core.lib ..\..\lib\vc_dll\wxbase29d.lib /nologo /dll /machine:i386 /out:"..\..\lib\vc_dll\wxmsw290d_stc_vc_custom.dll" /libpath:"..\..\lib\vc_dll" /implib:"..\..\lib\vc_dll\wxmsw29d_stc.lib" /debug
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswunivu" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmswuniv29u_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswunivu" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmswuniv29u_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29u_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29u_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswunivud" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmswuniv29ud_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswunivud" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmswuniv29ud_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29ud_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29ud_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswuniv" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmswuniv29_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswuniv" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmswuniv29_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswunivd" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmswuniv29d_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswunivd" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmswuniv29d_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29d_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmswuniv29d_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswu" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmsw29u_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\mswu" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmsw29u_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29u_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29u_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswud" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmsw29ud_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswud" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmsw29ud_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29ud_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29ud_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\msw" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmsw29_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /O2 /GR /EHsc /I "..\..\lib\vc_lib\msw" /I "..\..\include" /W4 /Fd..\..\lib\vc_lib\wxmsw29_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29_stc.lib"
!ELSEIF "$(CFG)" == "stc - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\stc"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\stc"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswd" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmsw29d_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /Od /GR /EHsc /I "..\..\lib\vc_lib\mswd" /I "..\..\include" /W4 /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxmsw29d_stc.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_stclib.pch" /I "..\..\src\tiff\libtiff" /I "..\..\src\jpeg" /I "..\..\src\png" /I "..\..\src\zlib" /I "..\..\src\regex" /I "..\..\src\expat\lib" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXBUILDING" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29d_stc.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxmsw29d_stc.lib"
!ENDIF
# Begin Target
# Name "stc - Win32 DLL Universal Unicode Release"
# Name "stc - Win32 DLL Universal Unicode Debug"
# Name "stc - Win32 DLL Universal Release"
# Name "stc - Win32 DLL Universal Debug"
# Name "stc - Win32 DLL Unicode Release"
# Name "stc - Win32 DLL Unicode Debug"
# Name "stc - Win32 DLL Release"
# Name "stc - Win32 DLL Debug"
# Name "stc - Win32 Universal Unicode Release"
# Name "stc - Win32 Universal Unicode Debug"
# Name "stc - Win32 Universal Release"
# Name "stc - Win32 Universal Debug"
# Name "stc - Win32 Unicode Release"
# Name "stc - Win32 Unicode Debug"
# Name "stc - Win32 Release"
# Name "stc - Win32 Debug"
# Begin Group "Common Sources"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\common\dummy.cpp
# ADD BASE CPP /Yc"wx/wxprec.h"
# ADD CPP /Yc"wx/wxprec.h"
# End Source File
# End Group
# Begin Group "MSW Sources"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\msw\version.rc
!IF "$(CFG)" == "stc - Win32 DLL Universal Unicode Release"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Unicode Debug"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Release"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Debug"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Release"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Debug"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Release"
!ELSEIF "$(CFG)" == "stc - Win32 DLL Debug"
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Universal Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Universal Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "stc - Win32 Debug"
# PROP Exclude_From_Build 1
!ENDIF
# End Source File
# End Group
# Begin Group "Setup Headers"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\include\wx\univ\setup.h
!IF "$(CFG)" == "stc - Win32 DLL Universal Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivu\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_dll\mswunivu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswunivu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivud\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_dll\mswunivud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswunivud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswuniv\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_dll\mswuniv\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswuniv\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivd\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_dll\mswunivd\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswunivd\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivu\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_lib\mswunivu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswunivu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivud\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_lib\mswunivud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswunivud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswuniv\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_lib\mswuniv\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswuniv\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivd\wx\setup.h
InputPath=..\..\include\wx\univ\setup.h
"..\..\lib\vc_lib\mswunivd\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswunivd\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Debug"
# Begin Custom Build -
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\msw\setup.h
!IF "$(CFG)" == "stc - Win32 DLL Universal Unicode Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Unicode Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswu\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_dll\mswu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswud\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_dll\mswud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\msw\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_dll\msw\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\msw\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswd\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_dll\mswd\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_dll\mswd\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Release"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Debug"
# Begin Custom Build -
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswu\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_lib\mswu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswud\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_lib\mswud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\msw\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_lib\msw\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\msw\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswd\wx\setup.h
InputPath=..\..\include\wx\msw\setup.h
"..\..\lib\vc_lib\mswd\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\..\lib\vc_lib\mswd\wx\setup.h
# End Custom Build
!ENDIF
# End Source File
# End Group
# Begin Group "MSW Headers"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\include\wx\msw\genrcdefs.h
!IF "$(CFG)" == "stc - Win32 DLL Universal Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswunivu\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswunivud\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswuniv\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswuniv\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswuniv\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswuniv\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Universal Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivd\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswunivd\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswunivd\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswunivd\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswu\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswud\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Release"
# Begin Custom Build - Creating ..\..\lib\vc_dll\msw\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\msw\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\msw\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\msw\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 DLL Debug"
# Begin Custom Build - Creating ..\..\lib\vc_dll\mswd\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_dll\mswd\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswd\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswd\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswunivu\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswunivud\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswuniv\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswuniv\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswuniv\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswuniv\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Universal Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswunivd\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswu\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Unicode Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswud\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Release"
# Begin Custom Build - Creating ..\..\lib\vc_lib\msw\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\msw\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\msw\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\msw\wx\msw\rcdefs.h"
# End Custom Build
!ELSEIF "$(CFG)" == "stc - Win32 Debug"
# Begin Custom Build - Creating ..\..\lib\vc_lib\mswd\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"..\..\lib\vc_lib\mswd\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswd\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswd\wx\msw\rcdefs.h"
# End Custom Build
!ENDIF
# End Source File
# End Group
# Begin Group "Common Headers"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\include\wx\stc\stc.h
# End Source File
# End Group
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\stc\PlatWX.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\ScintillaWX.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\stc.cpp
# End Source File
# End Group
# End Target
# End Project

View File

@@ -1,451 +1,451 @@
# Microsoft Developer Studio Project File - Name="wx_wxexpat" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxexpat - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_wxexpat.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_wxexpat.mak" CFG="wxexpat - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxexpat - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxexpat - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ENDIF
# Begin Target
# Name "wxexpat - Win32 DLL Universal Unicode Release"
# Name "wxexpat - Win32 DLL Universal Unicode Debug"
# Name "wxexpat - Win32 DLL Universal Release"
# Name "wxexpat - Win32 DLL Universal Debug"
# Name "wxexpat - Win32 DLL Unicode Release"
# Name "wxexpat - Win32 DLL Unicode Debug"
# Name "wxexpat - Win32 DLL Release"
# Name "wxexpat - Win32 DLL Debug"
# Name "wxexpat - Win32 Universal Unicode Release"
# Name "wxexpat - Win32 Universal Unicode Debug"
# Name "wxexpat - Win32 Universal Release"
# Name "wxexpat - Win32 Universal Debug"
# Name "wxexpat - Win32 Unicode Release"
# Name "wxexpat - Win32 Unicode Debug"
# Name "wxexpat - Win32 Release"
# Name "wxexpat - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\expat\lib\xmlparse.c
# End Source File
# Begin Source File
SOURCE=..\..\src\expat\lib\xmlrole.c
# End Source File
# Begin Source File
SOURCE=..\..\src\expat\lib\xmltok.c
# End Source File
# End Group
# End Target
# End Project
# Microsoft Developer Studio Project File - Name="wx_wxexpat" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxexpat - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_wxexpat.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_wxexpat.mak" CFG="wxexpat - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxexpat - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 DLL Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxexpat - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxexpat - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxexpat.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxexpatd.pdb /I "..\..\lib\vc_dll" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxexpat.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpat.lib"
!ELSEIF "$(CFG)" == "wxexpat - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\wxexpat"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\wxexpat"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxexpatd.pdb /I "..\..\lib\vc_lib" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "COMPILED_FROM_DSP" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxexpatd.lib"
!ENDIF
# Begin Target
# Name "wxexpat - Win32 DLL Universal Unicode Release"
# Name "wxexpat - Win32 DLL Universal Unicode Debug"
# Name "wxexpat - Win32 DLL Universal Release"
# Name "wxexpat - Win32 DLL Universal Debug"
# Name "wxexpat - Win32 DLL Unicode Release"
# Name "wxexpat - Win32 DLL Unicode Debug"
# Name "wxexpat - Win32 DLL Release"
# Name "wxexpat - Win32 DLL Debug"
# Name "wxexpat - Win32 Universal Unicode Release"
# Name "wxexpat - Win32 Universal Unicode Debug"
# Name "wxexpat - Win32 Universal Release"
# Name "wxexpat - Win32 Universal Debug"
# Name "wxexpat - Win32 Unicode Release"
# Name "wxexpat - Win32 Unicode Debug"
# Name "wxexpat - Win32 Release"
# Name "wxexpat - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\expat\lib\xmlparse.c
# End Source File
# Begin Source File
SOURCE=..\..\src\expat\lib\xmlrole.c
# End Source File
# Begin Source File
SOURCE=..\..\src\expat\lib\xmltok.c
# End Source File
# End Group
# End Target
# End Project

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,763 @@
# Microsoft Developer Studio Project File - Name="wx_wxscintilla" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxscintilla - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_wxscintilla.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_wxscintilla.mak" CFG="wxscintilla - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxscintilla - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 DLL Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxscintilla - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxscintilla - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_dll\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Fd..\..\lib\vc_lib\wxscintilla.pdb /D "WIN32" /D "_LIB" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintilla.lib"
!ELSEIF "$(CFG)" == "wxscintilla - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\wxscintilla"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\wxscintilla"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxscintillad.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxscintillad.lib"
!ENDIF
# Begin Target
# Name "wxscintilla - Win32 DLL Universal Unicode Release"
# Name "wxscintilla - Win32 DLL Universal Unicode Debug"
# Name "wxscintilla - Win32 DLL Universal Release"
# Name "wxscintilla - Win32 DLL Universal Debug"
# Name "wxscintilla - Win32 DLL Unicode Release"
# Name "wxscintilla - Win32 DLL Unicode Debug"
# Name "wxscintilla - Win32 DLL Release"
# Name "wxscintilla - Win32 DLL Debug"
# Name "wxscintilla - Win32 Universal Unicode Release"
# Name "wxscintilla - Win32 Universal Unicode Debug"
# Name "wxscintilla - Win32 Universal Release"
# Name "wxscintilla - Win32 Universal Debug"
# Name "wxscintilla - Win32 Unicode Release"
# Name "wxscintilla - Win32 Unicode Debug"
# Name "wxscintilla - Win32 Release"
# Name "wxscintilla - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\AutoComplete.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\CallTip.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\CellBuffer.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\CharClassify.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\ContractionState.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\Document.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\DocumentAccessor.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\Editor.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\ExternalLexer.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\Indicator.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\KeyMap.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\KeyWords.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAPDL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAU3.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAVE.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAda.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAsm.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexAsn1.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexBaan.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexBash.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexBasic.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexBullant.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCLW.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCPP.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCSS.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCaml.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexConf.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCrontab.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexCsound.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexEScript.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexEiffel.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexErlang.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexFlagship.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexForth.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexFortran.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexGui4Cli.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexHTML.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexHaskell.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexInno.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexKix.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexLisp.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexLout.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexLua.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexMMIXAL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexMPT.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexMSSQL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexMatlab.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexMetapost.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexNsis.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexOpal.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexOthers.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPB.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPOV.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPS.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPascal.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPerl.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexPython.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexRebol.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexRuby.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexSQL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexScriptol.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexSmalltalk.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexSpecman.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexSpice.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexTADS3.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexTCL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexTeX.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexVB.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexVHDL.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexVerilog.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LexYAML.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\LineMarker.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\PropSet.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\RESearch.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\ScintillaBase.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\Style.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\StyleContext.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\UniConversion.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\ViewStyle.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\WindowAccessor.cxx
# End Source File
# Begin Source File
SOURCE=..\..\src\stc\scintilla\src\XPM.cxx
# End Source File
# End Group
# End Target
# End Project

File diff suppressed because it is too large Load Diff

View File

@@ -1,487 +1,487 @@
# Microsoft Developer Studio Project File - Name="wx_wxzlib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxzlib - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_wxzlib.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_wxzlib.mak" CFG="wxzlib - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxzlib - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxzlib - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ENDIF
# Begin Target
# Name "wxzlib - Win32 DLL Universal Unicode Release"
# Name "wxzlib - Win32 DLL Universal Unicode Debug"
# Name "wxzlib - Win32 DLL Universal Release"
# Name "wxzlib - Win32 DLL Universal Debug"
# Name "wxzlib - Win32 DLL Unicode Release"
# Name "wxzlib - Win32 DLL Unicode Debug"
# Name "wxzlib - Win32 DLL Release"
# Name "wxzlib - Win32 DLL Debug"
# Name "wxzlib - Win32 Universal Unicode Release"
# Name "wxzlib - Win32 Universal Unicode Debug"
# Name "wxzlib - Win32 Universal Release"
# Name "wxzlib - Win32 Universal Debug"
# Name "wxzlib - Win32 Unicode Release"
# Name "wxzlib - Win32 Unicode Debug"
# Name "wxzlib - Win32 Release"
# Name "wxzlib - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\zlib\adler32.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\compress.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\crc32.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\deflate.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\gzio.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\infback.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inffast.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inflate.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inftrees.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\trees.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\uncompr.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\zutil.c
# End Source File
# End Group
# End Target
# End Project
# Microsoft Developer Studio Project File - Name="wx_wxzlib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxzlib - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wx_wxzlib.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wx_wxzlib.mak" CFG="wxzlib - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxzlib - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 DLL Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Universal Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Unicode Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxzlib - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxzlib - Win32 DLL Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivudll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivudll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivuddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivuddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivdll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivdll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswunivddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswunivddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswudll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswudll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswuddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswuddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswdll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswdll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_dll\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 DLL Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_dll"
# PROP BASE Intermediate_Dir "vc_mswddll\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_dll"
# PROP Intermediate_Dir "vc_mswddll\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_dll\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_dll\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivu\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivu\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivud\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivud\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswuniv\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswuniv\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Universal Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswunivd\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswunivd\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Unicode Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswu\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswu\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Unicode Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswud\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswud\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_msw\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_msw\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD CPP /nologo /FD /MD /W1 /O2 /GR /EHsc /Fd..\..\lib\vc_lib\wxzlib.pdb /D "WIN32" /D "_LIB" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlib.lib"
!ELSEIF "$(CFG)" == "wxzlib - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\lib\vc_lib"
# PROP BASE Intermediate_Dir "vc_mswd\wxzlib"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\lib\vc_lib"
# PROP Intermediate_Dir "vc_mswd\wxzlib"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD CPP /nologo /FD /MDd /W1 /Od /GR /EHsc /Zi /Gm /GZ /Fd..\..\lib\vc_lib\wxzlibd.pdb /D "WIN32" /D "_LIB" /D "_DEBUG" /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
# ADD LIB32 /nologo /out:"..\..\lib\vc_lib\wxzlibd.lib"
!ENDIF
# Begin Target
# Name "wxzlib - Win32 DLL Universal Unicode Release"
# Name "wxzlib - Win32 DLL Universal Unicode Debug"
# Name "wxzlib - Win32 DLL Universal Release"
# Name "wxzlib - Win32 DLL Universal Debug"
# Name "wxzlib - Win32 DLL Unicode Release"
# Name "wxzlib - Win32 DLL Unicode Debug"
# Name "wxzlib - Win32 DLL Release"
# Name "wxzlib - Win32 DLL Debug"
# Name "wxzlib - Win32 Universal Unicode Release"
# Name "wxzlib - Win32 Universal Unicode Debug"
# Name "wxzlib - Win32 Universal Release"
# Name "wxzlib - Win32 Universal Debug"
# Name "wxzlib - Win32 Unicode Release"
# Name "wxzlib - Win32 Unicode Debug"
# Name "wxzlib - Win32 Release"
# Name "wxzlib - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\zlib\adler32.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\compress.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\crc32.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\deflate.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\gzio.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\infback.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inffast.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inflate.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\inftrees.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\trees.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\uncompr.c
# End Source File
# Begin Source File
SOURCE=..\..\src\zlib\zutil.c
# End Source File
# End Group
# End Target
# End Project

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -41,7 +41,7 @@ WXUNIV = 0
# Compile Unicode build of wxWidgets? [0,1]
# 1 - Unicode
UNICODE = 0
UNICODE = 1
# Type of compiled binaries [debug,release]
BUILD = debug
@@ -80,6 +80,9 @@ USE_AUI = 1
# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1
# Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]
USE_STC = 1
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
DebugSim

View File

@@ -11,85 +11,21 @@ DOCDIR = $(WXDIR)\docs
WAITFLAG=/w
# Making documents
docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp htmlhelp
docs: wxhlp rtf pdfrtf wxhtml htmlhelp htb tex2rtf
alldocs: docs
hlp: wxhlp
wxhlp: $(DOCDIR)/winhelp/wx.hlp
rtf: $(DOCDIR)/winhelp/wx.rtf
rtf: $(DOCDIR)/latex/wx/wx.rtf
pdfrtf: $(DOCDIR)/pdf/wx.rtf
html: wxhtml
htb: $(DOCDIR)\htb\wx.htb
wxhtml: $(DOCDIR)\html\wx\wx_contents.html
htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
#ps: wxps
#wxps: $(WXDIR)\docs\ps\wx.ps
allhlp: wxhlp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc hlp
cd $(WXDIR)\utils\tex2rtf\docs
nmake -f makefile.vc hlp
cd $(WXDIR)\contrib\src\fl
-nmake -f makedocs.vc hlp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\ogl
-nmake -f makedocs.vc hlp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\svg
-nmake -f makedocs.vc hlp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\gizmos
-nmake -f makedocs.vc hlp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\mmedia
-nmake -f makedocs.vc hlp
cd $(THISDIR)
allpdfrtf: pdfrtf
allhtb: htb
allhtml: wxhtml
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc html
cd $(WXDIR)\utils\tex2rtf\docs
nmake -f makefile.vc html
cd $(WXDIR)\contrib\src\fl
cd $(THISDIR)
cd $(WXDIR)\contrib\src\ogl
nmake -f makedocs.vc html
cd $(THISDIR)
cd $(WXDIR)\contrib\src\svg
nmake -f makedocs.vc html
cd $(THISDIR)
cd $(WXDIR)\contrib\src\gizmos
nmake -f makedocs.vc html
cd $(THISDIR)
cd $(WXDIR)\contrib\src\mmedia
nmake -f makedocs.vc html
cd $(THISDIR)
allhtmlhelp: htmlhelp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc htmlhelp
cd $(WXDIR)\utils\tex2rtf\docs
-nmake -f makefile.vc htmlhelp
cd $(WXDIR)\contrib\src\fl
-nmake -f makedocs.vc htmlhelp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\ogl
-nmake -f makedocs.vc htmlhelp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\svg
-nmake -f makedocs.vc htmlhelp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\gizmos
-nmake -f makedocs.vc htmlhelp
cd $(THISDIR)
cd $(WXDIR)\contrib\src\mmedia
-nmake -f makedocs.vc htmlhelp
cd $(THISDIR)
tex2rtf:
cd $(WXWIN)\utils\tex2rtf\docs
nmake -f makefile.vc
cd $(THISDIR)
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
@@ -142,37 +78,7 @@ $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\
move wx.chm ..\..\htmlhelp
cd $(THISDIR)
#$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
# cd $(WXDIR)\docs\latex\wx
# -latex manual
# -latex manual
# -makeindx manual
# -bibtex manual
# -latex manual
# -latex manual
# cd $(THISDIR)
#$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
# cd $(WXDIR)\docs\latex\wx
# -dvips32 -o wx.ps manual
# move wx.ps $(WXDIR)\docs\ps\wx.ps
# cd $(THISDIR)
#$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
# cd $(WXDIR)\docs\latex\wx
# -latex referenc
# -latex referenc
# -makeindx referenc
# -bibtex referenc
# -latex referenc
# -latex referenc
# cd $(THISDIR)
#$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
# cd $(WXDIR)\docs\latex\wx
# -dvips32 -o referenc.ps referenc
# move referenc.ps $(WXDIR)\docs\ps\referenc.ps
# cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
@@ -219,87 +125,4 @@ cleanonlinehelp:
-erase $(DOCDIR)\htb\wx.htb
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
# Office StartUp folder, and PDFMaker should be installed.
#updatepdf: # touchmanual pdfrtf
# start $(WAITFLAG) "\progra~1\micros~3\office\winword.exe c:\wx\wxWidgets\docs\pdf\wx.rtf /mGeneratePDF"
######################
# Tex2RTF
######################
TEX2RTFDOCDIR=$(WXDIR)\utils\tex2rtf\docs
tex2rtfhtml: $(DOCDIR)\html\tex2rtf\t2rtf.htm
tex2rtfhtmlhelp: $(DOCDIR)\htmlhelp\tex2rtf.chm
tex2rtfhtb: $(DOCDIR)\htb\tex2rtf.htb
tex2rtfhlp: $(DOCDIR)\winhelp\tex2rtf.hlp
tex2rtfpdfrtf: $(DOCDIR)\pdf\tex2rtf.rtf
tex2rtfps: $(WXDIR)\docs\ps\tex2rtf.ps
$(DOCDIR)\winhelp\tex2rtf.hlp: $(TEX2RTFDOCDIR)\tex2rtf.rtf $(TEX2RTFDOCDIR)\tex2rtf.hpj
cd $(TEX2RTFDOCDIR)
-erase tex2rtf.ph
hcw /c /e tex2rtf
copy tex2rtf.hlp $(DOCDIR)\winhelp\tex2rtf.hlp
copy tex2rtf.cnt $(DOCDIR)\winhelp\tex2rtf.cnt
cd $(THISDIR)
$(TEX2RTFDOCDIR)\tex2rtf.rtf: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(TEX2RTFDOCDIR)\tex2rtf.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)\pdf\tex2rtf.rtf: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(DOCDIR)\pdf\tex2rtf.rtf -twice -rtf
cd $(THISDIR)
$(DOCDIR)\html\tex2rtf\t2rtf.htm: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-mkdir $(DOCDIR)\html\tex2rtf
-copy *.gif $(DOCDIR)\html\tex2rtf
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(DOCDIR)\html\tex2rtf\t2rtf.htm -twice -html
-erase $(DOCDIR)\html\tex2rtf\*.con
-erase $(DOCDIR)\html\tex2rtf\*.ref
cd $(THISDIR)
$(DOCDIR)\htmlhelp\tex2rtf.chm : $(DOCDIR)\html\tex2rtf\t2rtf.htm $(DOCDIR)\html\tex2rtf\t2rtf.hhp
cd $(DOCDIR)\html\tex2rtf
-hhc t2rtf.hhp
move t2rtf.chm $(DOCDIR)\htmlhelp\tex2rtf.chm
cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
# This can then be used with e.g. helpview.
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
$(DOCDIR)\htb\tex2rtf.htb: $(DOCDIR)\html\tex2rtf\t2rtf.htm
cd $(DOCDIR)\html\tex2rtf
-erase tex2rtf.zip tex2rtf.htb
zip tex2rtf.zip *.htm *.gif *.hhp *.hhc *.hhk
-mkdir $(DOCDIR)\htb
move tex2rtf.zip $(DOCDIR)\htb\tex2rtf.htb
cd $(THISDIR)
#$(TEX2RTFDOCDIR)\tex2rtf.dvi: $(DOCSOURCES)
# cd $(TEX2RTFDOCDIR)
# -latex tex2rtf
# -latex tex2rtf
# -makeindx tex2rtf
# -bibtex tex2rtf
# -latex tex2rtf
# -latex tex2rtf
# cd $(THISDIR)
#$(WXDIR)\docs\ps\tex2rtf.ps: $(TEX2RTFDOCDIR)\tex2rtf.dvi
# cd $(TEX2RTFDOCDIR)
# -dvips32 -o tex2rtf.ps tex2rtf
# copy tex2rtf.ps $(WXDIR)\docs\ps\tex2rtf.ps
# cd $(THISDIR)
#

View File

@@ -6,11 +6,11 @@ WINSRCDIR=/mnt/daily
FTPDIR=/home/ftp/pub
LD_LIBRARY_PATH=/usr/local/lib
update_from_cvs()
update_from_svn()
{
(
cd ${WORKDIR}/wxWidgets
cvs -z3 update -P -d
svn up
find . -name \.#\* | xargs rm -rf
)
@@ -70,45 +70,45 @@ copy_files ()
##delete old files and then copy new ones, add a symlink
## Makefiles
find ${FTPDIR}/CVS_Makefiles/files -type f -name wx-mk\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/wx-mk-* ${FTPDIR}/CVS_Makefiles/files
find ${FTPDIR}/Daily_Makefiles/files -type f -name wx-mk\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/wx-mk-* ${FTPDIR}/Daily_Makefiles/files
rm -f ${FTPDIR}/CVS_Makefiles/wx* ${FTPDIR}/CVS_Makefiles/MD5SUM
rm -f ${FTPDIR}/Daily_Makefiles/wx* ${FTPDIR}/Daily_Makefiles/MD5SUM
##there must be an easier way of doing these links...
for f in `find ${FTPDIR}/CVS_Makefiles/files -type f -name wx-mk\* -mmin -601` ; do
for f in `find ${FTPDIR}/Daily_Makefiles/files -type f -name wx-mk\* -mmin -601` ; do
ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
done
md5sum ${FTPDIR}/CVS_Makefiles/wx* > ${FTPDIR}/CVS_Makefiles/MD5SUM
md5sum ${FTPDIR}/Daily_Makefiles/wx* > ${FTPDIR}/Daily_Makefiles/MD5SUM
sleep 10
echo CVS Makefiles generated from bakefiles last updated at `date -u` > ${FTPDIR}/CVS_Makefiles/updated_at.txt
echo CVS Makefiles generated from bakefiles last updated at `date -u` > ${FTPDIR}/Daily_Makefiles/updated_at.txt
## Setup.exe
find ${FTPDIR}/CVS_HEAD/v1/files -type f -name wx\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/win/*.exe ${FTPDIR}/CVS_HEAD/v1/files
find ${FTPDIR}/Daily_HEAD/files -type f -name wx\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/win/*.exe ${FTPDIR}/Daily_HEAD/files
rm -f ${FTPDIR}/CVS_HEAD/v1/*.exe ${FTPDIR}/CVS_HEAD/v1/MD5SUM
rm -f ${FTPDIR}/Daily_HEAD/*.exe ${FTPDIR}/Daily_HEAD/MD5SUM
##there must be an easier way of doing these links...
for f in `find ${FTPDIR}/CVS_HEAD/v1/files -type f -name wx\*.exe -mmin -601` ; do
for f in `find ${FTPDIR}/Daily_HEAD/files -type f -name wx\*.exe -mmin -601` ; do
ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
done
md5sum ${FTPDIR}/CVS_HEAD/v1/wx* > ${FTPDIR}/CVS_HEAD/v1/MD5SUM
md5sum ${FTPDIR}/Daily_HEAD/wx* > ${FTPDIR}/Daily_HEAD/MD5SUM
sleep 10
echo CVS HEAD last updated at `date -u` > ${FTPDIR}/CVS_HEAD/v1/updated_at.txt
echo CVS HEAD last updated at `date -u` > ${FTPDIR}/Daily_HEAD/updated_at.txt
## Docs...
find ${FTPDIR}/CVS_Docs/files -type f -name wx\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/wx-doc* ${FTPDIR}/CVS_Docs/files
cp ${WORKDIR}/archives/win/wxW* ${FTPDIR}/CVS_Docs/files
find ${FTPDIR}/Daily_Docs/files -type f -name wx\* -mtime +3 | xargs rm -rf
cp ${WORKDIR}/archives/wx-doc* ${FTPDIR}/Daily_Docs/files
cp ${WORKDIR}/archives/win/wxW* ${FTPDIR}/Daily_Docs/files
rm -f ${FTPDIR}/CVS_Docs/wx* ${FTPDIR}/CVS_Docs/MD5SUM
rm -f ${FTPDIR}/Daily_Docs/wx* ${FTPDIR}/Daily_Docs/MD5SUM
##there must be an easier way of doing these links...
for f in `find ${FTPDIR}/CVS_Docs/files -type f -name wx\* -mmin -601` ; do
for f in `find ${FTPDIR}/Daily_Docs/files -type f -name wx\* -mmin -601` ; do
ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
done
md5sum ${FTPDIR}/CVS_Docs/wx* > ${FTPDIR}/CVS_Docs/MD5SUM
md5sum ${FTPDIR}/Daily_Docs/wx* > ${FTPDIR}/Daily_Docs/MD5SUM
sleep 10
echo CVS Documentation generated from bakefiles last updated at `date -u` > ${FTPDIR}/CVS_Docs/updated_at.txt
echo CVS Documentation generated from bakefiles last updated at `date -u` > ${FTPDIR}/Daily_Docs/updated_at.txt
}
do_texrtf ()
@@ -156,12 +156,12 @@ rm ${WORKDIR}/archives/htb/*.*
######### dir index.tex rootdir
do_texrtf wx manual.tex
do_texrtf book book.tex
do_texrtf svg dcsvg.tex contrib
do_texrtf ogl ogl.tex contrib
do_texrtf mmedia mmedia.tex contrib
do_texrtf gizmos manual.tex contrib
do_texrtf fl fl.tex contrib
#do_texrtf book book.tex
#do_texrtf svg dcsvg.tex contrib
#do_texrtf ogl ogl.tex contrib
#do_texrtf mmedia mmedia.tex contrib
#do_texrtf gizmos manual.tex contrib
#do_texrtf fl fl.tex contrib
do_util_texrtf tex2rtf tex2rtf.tex
cd ${WORKDIR}/archives/
@@ -180,17 +180,17 @@ add_win_files ()
{
### starts with wx***.zip
for f in `find ${WINSRCDIR}/ -name wx\*.zip ` ; do
for f in `find ${WINSRCDIR}/ -maxdepth 1 -name wx\*.zip ` ; do
cp $f ${WORKDIR}/archives/win/`basename $f | sed -e "s/.zip//"`-${CURDATE}.zip
done
for f in `find ${WINSRCDIR}/ -name wx\*.exe ` ; do
for f in `find ${WINSRCDIR}/ -maxdepth 1 -name wx\*.exe ` ; do
cp $f ${WORKDIR}/archives/win/`basename $f | sed -e "s/.exe//"`-${CURDATE}.exe
done
}
update_from_cvs
update_from_svn
regenerate_makefiles
package_makefiles

View File

@@ -1,6 +1,6 @@
rem Uncomment the next line to set the version; used also in wxWidgets.iss
SET WXW_VER=2.8.1
if (%WXW_VER%)==() SET WXW_VER=CVS
rem SET WXW_VER=2.9.0
if (%WXW_VER%)==() SET WXW_VER=SVN
echo docs building for %WXW_VER%
@@ -14,40 +14,45 @@ echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
set WXWIN=c:\wx\wxWidgets
set DAILY=c:\daily
set PATH=%PATH%;C:\wx\wxw26b\utils\tex2rtf\src\vc_based;C:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
rem svn already in my path...
set PATH=%PATH%;C:\wx\oldcvs\wxw26b\utils\tex2rtf\src\vc_based;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
echo %PATH% >> c:\temp.log
rem add nmake to the path to build the docs
call \vc6
echo %PATH% >> c:\temp.log
rem add bakefile build...
set PATH=%PATH%;C:\wx\Bakefile\src
SET >> c:\temp.log
rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
c:
cd %WXWIN%
cvs up -P -d
svn cleanup >> c:\temp.log
svn up >> c:\temp.log
rem now inno
cd \wx\inno\wxWidgets
cd \wx\inno\wxWidgets >> c:\temp.log
del c*.*
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
cvs up -P
svn cleanup >> c:\temp.log
svn up >> c:\temp.log
dos2unix configure
dos2unix config.guess
dos2unix config.sub
copy include\wx\msw\setup0.h include\wx\msw\setup.h
copy include\wx\univ\setup0.h include\wx\univ\setup.h
echo CVS update >> c:\temp.log
echo SVN update >> c:\temp.log
rem add bakefile build...
rem just build the formats not in the CVS to keep down the .#makefile...
set PATH=%PATH%;C:\wx\Bakefile\src
rem just build the formats not in the SVN to keep down the .#makefile...
cd \wx\inno\wxWidgets\build\bakefiles
del .bakefile_gen.state
bakefile_gen -f dmars,dmars,msevc4prj,dmars_smake >> c:\temp.log
bakefile_gen -f dmars,dmars_smake,msevc4prj >> c:\temp.log
rem add nmake to the path and build the docs
call \vc6
echo %PATH% >> c:\temp.log
SET >> c:\temp.log
cd %WXWIN%\build\script
nmake -f makedocs.vc cleandocs
nmake -f makedocs.vc alldocs
@@ -62,24 +67,21 @@ start /WAIT winword /mwx_ps
echo cvs doc up part 2 >> c:\temp.log
rem use ghostscript ps2pdf - add extra path first
rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
cd %DAILY%\in
call ps2pdf wx.ps >> c:\temp.log
call ps2pdf fl.ps >> c:\temp.log
call ps2pdf gizmos.ps >> c:\temp.log
call ps2pdf mmedia.ps >> c:\temp.log
call ps2pdf ogl.ps >> c:\temp.log
call ps2pdf svg.ps >> c:\temp.log
call ps2pdf tex2rtf.ps >> c:\temp.log
echo Zipping
cd %WXWIN%
del %DAILY%\*.zip
zip %DAILY%\wxWidgets-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
zip %DAILY%\wxWidgets-%WXW_VER%-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt
zip %DAILY%\wxWidgets-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm
zip %DAILY%\wxWidgets-%WXW_VER%-HTB.zip docs\htb\*.htb utils/tex2rtf/docs/*.htb
zip %DAILY%\wxWidgets-%WXW_VER%-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt
zip -r %DAILY%\wxWidgets-%WXW_VER%-HTML.zip docs\html\* utils\tex2rtf\docs\html\* -x CVS -x *.con -x *.hh* -x *.ref -x *.htx -x *.cn1 -x docs\html\CVS\*
del %DAILY%\*.tar.gz
bsdtar zcvf %DAILY%\wxWidgets-%WXW_VER%-HTB.tar.gz docs/htb/*.htb utils/tex2rtf/docs/*.htb
bsdtar zcvf %DAILY%\wxWidgets-%WXW_VER%-HTML.tar.gz --exclude CVS --exclude *.con --exclude *.hh* --exclude *.ref --exclude *.htx --exclude *.cn1 --exclude docs/html/CVS/* docs/html/* utils/tex2rtf/docs/html/*
cd %DAILY%\
mkdir docs
@@ -95,15 +97,6 @@ copy docs\htmlhelp\wx.chm \wx\inno\wxWidgets\docs\htmlhelp\wx.chm
cd %WXWIN%\build\script
iscc wxwidgets.iss >> c:\temp.log
rem echo setting S
rem echo yes > net use s: /delete
rem net use s: \\biolpc22\bake
rem net use >> c:\temp.log
rem copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win
rem copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.exe
rem dir s: /od >> c:\temp.log
echo docs built for %WXW_VER%
echo docs built for %WXW_VER% >> c:\temp.log

View File

@@ -5,11 +5,6 @@
Sub wx_ps()
swxWIN = Environ("WXWIN")
do_ps swxWIN & "\docs\pdf\", "wx"
do_ps swxWIN & "\contrib\docs\latex\svg", "svg"
do_ps swxWIN & "\contrib\docs\latex\ogl", "ogl"
do_ps swxWIN & "\contrib\docs\latex\mmedia", "mmedia"
do_ps swxWIN & "\contrib\docs\latex\gizmos", "gizmos"
do_ps swxWIN & "\contrib\docs\latex\fl", "fl"
do_ps swxWIN & "\utils\tex2rtf\docs", "tex2rtf"
bye_bye

View File

@@ -2,16 +2,16 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#if GetEnv("WXW_VER") == "CVS"
#define INFOFILE "C:\wx\inno\wxWidgets\BuildCVS.txt"
#define SETUPFILENAME "wxMSW-cvs-Setup"
#define WX_VERSION "CVS"
#define INFOFILE "C:\wx\inno\wxWidgets\BuildSVN.txt"
#define WX_VERSION "SVN"
#else
#define INFOFILE "C:\wx\inno\wxWidgets\docs\msw\install.txt"
#define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"
#define WX_VERSION GetENV("WXW_VER")
#endif
#define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"
#define INNODIR "C:\wx\inno\wxWidgets"
[Setup]
AppName=wxWidgets
@@ -24,17 +24,24 @@ DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
DefaultGroupName=wxWidgets {#WX_VERSION}
UsePreviousAppDir=no
DisableProgramGroupPage=yes
LicenseFile=C:\wx\inno\wxWidgets\docs\licence.txt
InfoBeforeFile=C:\wx\inno\wxWidgets\docs\readme.txt
LicenseFile={#INNODIR}\docs\licence.txt
InfoBeforeFile={#INNODIR}\docs\readme.txt
InfoAfterFile={#INFOFILE}
OutputDir=c:\daily
OutputBaseFilename={#SETUPFILENAME}
SetupIconFile=C:\wx\inno\wxWidgets\art\wxwin.ico
SetupIconFile={#INNODIR}\art\wxwin.ico
Compression=lzma
SolidCompression=yes
[Files]
Source: "C:\wx\inno\wxWidgets\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; source files
Source: "{#INNODIR}\*"; DestDir: "{app}"; Excludes: ".cvsignore,cocoa,dfb,mac,gtk,gtk1,mgl,motif,msdos,os2,palmos,wxWindows.xcod*,x11,contrib,debian,distrib,docs,misc,tests,wxPython,*.pch,*.pch++,*.pchmm"; Flags: ignoreversion recursesubdirs createallsubdirs
; docs and helpfile
Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[INI]

View File

@@ -24,18 +24,19 @@ msg()
}
# write all the common options to stdout, massaging them specially if they are
# meant to be included in a configure input file setup.h.in (the name of the
# file the common options are meant to be included in is the parameter)
# meant to be included in a configure input file setup.h.in
#
# usage: cat_common_options_for setup_inc.h setup0.h
cat_common_options_for()
{
# get rid of the copyright header on top of the file
cmd="sed '1,/^$/d' include/wx/setup_inc.h"
cmd="sed '1,/^\$/d' $1"
# the file used for configure is special: we need to get rid of C++
# comments in it because it is included by some C code and we also have to
# set all options to 0 by default as they're put to 1 only by configure
# (and hence any #ifdefs setting default values for them become unneeded)
if [ $1 = "setup.h.in" ]; then
if [ $2 = "setup.h.in" ]; then
cmd="$cmd | sed -e '/^\/\//d' \
-e 's@ *//.*\$@@' \
-e 's/# *define \(.\+\) \+1 *\$/#define \1 0/'"
@@ -46,9 +47,16 @@ cat_common_options_for()
# update the single setup.h file passed in as the parameter if it is out of
# date
#
# usage: update_single_setup_h {common|MSW} setup_inc.h setup0.h
update_single_setup_h()
{
if [ include/wx/setup_inc.h -ot $1 ]; then
section=$1
shift
setup_inc=$1
shift
if [ $setup_inc -ot $1 ]; then
echo "Skipping $1 which is already up to date."
return 0
fi
@@ -56,9 +64,9 @@ update_single_setup_h()
echo -n "Updating $1 ..."
tmp=$i.$$.tmp
sed -e '/^\/\* --- start common options --- \*\/$/q' $1 > $tmp &&
cat_common_options_for $1 >> $tmp &&
sed -n -e '/^\/\* --- end common options --- \*\/$/,$p' $1 >> $tmp &&
sed -e "/^\/\* --- start $section options --- \*\/\$/q" $1 > $tmp &&
cat_common_options_for $setup_inc $1 >> $tmp &&
sed -n -e "/^\/\* --- end $section options --- \*\/\$/,\$p" $1 >> $tmp &&
mv $tmp $1
if [ $? -ne 0 ]; then
@@ -70,19 +78,34 @@ update_single_setup_h()
fi
}
# wrapper for update_single_setup_h which only updates the common options
update_common_setup_h()
{
update_single_setup_h common include/wx/setup_inc.h $1
}
# wrapper for update_single_setup_h which only updates the MSW options
update_msw_setup_h()
{
update_single_setup_h MSW include/wx/msw/setup_inc.h $1
}
# entry point
if [ ! -f wxwin.m4 ]; then
error "$0: must be ran from root wx directory"
exit 1
fi
update_single_setup_h include/wx/msw/setup0.h
update_single_setup_h include/wx/msw/wince/setup.h
update_single_setup_h include/wx/mac/setup0.h
update_single_setup_h include/wx/palmos/setup0.h
update_single_setup_h include/wx/os2/setup0.h
update_single_setup_h include/wx/motif/setup0.h
update_single_setup_h setup.h.in
update_common_setup_h include/wx/msw/setup0.h
update_common_setup_h include/wx/msw/wince/setup.h
update_common_setup_h include/wx/mac/setup0.h
update_common_setup_h include/wx/palmos/setup0.h
update_common_setup_h include/wx/os2/setup0.h
update_common_setup_h include/wx/motif/setup0.h
update_common_setup_h setup.h.in
update_msw_setup_h include/wx/msw/setup0.h
update_msw_setup_h setup.h.in
exit $rc

44518
configure vendored

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More