David Elliott
80da12bc09
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
...
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block. Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__. That's fortunate since __POWERPC__ was defined
unconditionally in that case. Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).
Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems. In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.
Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.
Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.
Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Paul Cornett
cca410b336
Use a GtkVBox to do TLW layout. Rework some of the remaining sizing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 18:07:24 +00:00
Vadim Zeitlin
a2d3826500
add a critical section protecting ms_prev variables (replaces patch 1819224)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 17:59:53 +00:00
Vadim Zeitlin
2064113c9d
slightly simplified wxLog repetition counting code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 17:55:29 +00:00
Julian Smart
ce04fea594
Small usability improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:21:08 +00:00
Vadim Zeitlin
e4161a2a08
use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 22:19:34 +00:00
Vadim Zeitlin
e461247b05
do use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defines vswprintf() in a pre-standard way)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:20:44 +00:00
Vadim Zeitlin
3824e0db33
don't compare initial slider position with uninitialized m_pos (modified patch 1818759)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:16:06 +00:00
Vadim Zeitlin
1e6b2edfc8
remove ODBC and DBgrid libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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