Commit Graph

32393 Commits

Author SHA1 Message Date
Robin Dunn
1ea8df6e6b Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
the upcoming 1.3.28, using #if statements on SWIG_VERSION.

Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.

Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.

Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.

Etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:33:00 +00:00
Robin Dunn
dd400cf46d Ouput a SWIG_VERSION #define to the wrapper file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:14:44 +00:00
Robin Dunn
214c4fbea5 Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
the upcoming 1.3.28, using #if statements on SWIG_VERSION.

Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.

Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.

Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.

Etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +00:00
Robin Dunn
9a3fba2459 no longer need to lowercase the input ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 01:36:59 +00:00
Robin Dunn
b6222be998 Use reference types on SetDimension so the proper typemaps are used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 01:35:14 +00:00
David Surovell
09e28f7f8d minor changes as per RN comments - add some comments and reorder a switch stmt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:25:40 +00:00
David Surovell
13a1e96f92 improved LaunchDefaultBrowser on FreeBSD systems by using the BROWSER env var when no HTML file MIME mapping is found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:06:09 +00:00
Stefan Neis
c52e0d0e51 Do test for get{host,serv}byname_r in C++ mode, so non visible declarations
cannot break compilation of gsocket.cpp.
Replaced AC_LANG_SAVE/RESTORE by AC_LANG_PUSH/POP for consistency.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 13:52:17 +00:00
Stefan Csomor
e8027adbb6 converting menu ids and safeguarding against missing menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 12:28:56 +00:00
Julian Smart
c137ddc91f Further attempts at WinCE media control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 10:56:27 +00:00
Stefan Csomor
d086c633ad attempt to fix endian problems when doing cross-compiles for universal binaries from a ppc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 06:59:20 +00:00
Kevin Ollivier
e61e59643e Adding Reswig and Universal binary options to both build_packages.sh and the wxPythonOSX/build script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 02:11:22 +00:00
Vadim Zeitlin
3110909fec SetSelection() must update m_selectionOld, otherwise it doesn't correspond to the real selection any more and selection change events are sent twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 00:43:23 +00:00
Julian Smart
be96ed8c5d Further steps towards media control support in WinCE (Ryan Norton)
- not yet working


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:32:12 +00:00
Julian Smart
ca1514b304 Small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:30:50 +00:00
Vadim Zeitlin
b9bae707bb don't eat all events if m_maxLength is 0: this means no limit according to the docs and both wxMSW and wxGTK behave like this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:05:23 +00:00
Kevin Ollivier
2ca2357ded Since Universal binaries compile the same file twice for different architectures, we need to allow WORDS_BIGENDIAN to be re-defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:54:41 +00:00
Vadim Zeitlin
f20e3df6d3 fixed MIPSpro version in the comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:50:16 +00:00
Michael Wetherell
5a0a8487c4 Link oleacc.lib conditionally since VC++ 5 w/o PSDK doesn't have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:07:12 +00:00
Włodzimierz Skiba
a33e2266dc Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:32:03 +00:00
Stefan Csomor
aa44b55d4f removing unnecessary code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:05:23 +00:00
Stefan Csomor
04bf2fb515 adapting keycode field usage for EVT_CHAR in unicode to MSW variant (full unicode char)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:04:15 +00:00
Włodzimierz Skiba
799181197d Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 15:43:16 +00:00
Stefan Csomor
8071012d63 app.h must be included for the non RAEL implementation, as universal binaries command line builds don't support precomps yet ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 09:50:40 +00:00
Kevin Hock
204b046ea0 Fix InterruptWait on wxBase; use polling on wxBase (wxStopWatch is unavailable) and also correctly restore timeout to original value after _Wait [ Slightly modified patch 1410868 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:50:11 +00:00
Kevin Hock
2decc3bd99 Fixed wxSocketBase::InterruptWait on wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:49:12 +00:00
Vadim Zeitlin
3f8e6923b0 tentative compilation fix for MIPSpro 7.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:23:48 +00:00
Kevin Ollivier
7afc46abae Fixes for wxMac Universal binary support. With these changes, I now get a working Universal build simply by passing --enable-universal_build to configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 23:54:31 +00:00
Julian Smart
33a8a62852 Fixed duplicate guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 22:35:13 +00:00
Włodzimierz Skiba
4835f3be09 More headers for wxBase/MSW needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 21:08:11 +00:00
Włodzimierz Skiba
0ba6a83624 Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:53:08 +00:00
Włodzimierz Skiba
23ff76d5ad Blind fixes for warnings in wxTinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:35:32 +00:00
Włodzimierz Skiba
78f9336500 Blind fixes for warnings in wxTinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:22:56 +00:00
Włodzimierz Skiba
b20edf8b33 Better #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:06:06 +00:00
Włodzimierz Skiba
95d00805e0 #include moved to module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 18:59:49 +00:00
Włodzimierz Skiba
b73e73f912 Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 17:20:50 +00:00
Włodzimierz Skiba
8498a2858b Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 17:00:19 +00:00
Włodzimierz Skiba
521bf4ff3e Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:50:23 +00:00
Stefan Csomor
665b537f51 implementing pure carbon event behaviour, getting rid of doubly executed events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:41:53 +00:00
Włodzimierz Skiba
f03e8f9b16 Filename correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:03:33 +00:00
Włodzimierz Skiba
9b5f189564 Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:02:02 +00:00
Włodzimierz Skiba
b7ba00e77a wxBusyInfo interface moved to generic to make space for possible native implementations. wxInfoFrame moved from header to module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:40:46 +00:00
Włodzimierz Skiba
1e25a373d0 Improved preprocessor guards for numeric dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:33:27 +00:00
Włodzimierz Skiba
b21164a542 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:31:07 +00:00
Włodzimierz Skiba
11f104e5c1 Warning fixes after recent commits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:29:58 +00:00
Julian Smart
163570537b Suppress VC++ 2005 deprecation warnings (for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 13:15:47 +00:00
Robert Roebling
065fa73213 GTK2 RGBA has 32 bits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 12:28:19 +00:00
Robert Roebling
a1cd956478 wxImage::Copy() forgot the alpha channel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 12:07:10 +00:00
Robin Dunn
22b9d4ac49 show unicode/ansi mode on startup too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 00:33:39 +00:00
Robin Dunn
e280c9ca95 Add supoprt for wxListCtrl::OnGetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 00:31:31 +00:00