Michael Wetherell
920991eeb3
Compile fix for --without-zlib --enable-compat26.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 17:07:40 +00:00
Julian Smart
cd8ba0d9e4
Added a reset-buffer event to give an opportunity to set the default initial style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:14:44 +00:00
Paul Cornett
144ae5bbbf
remove unnecessary m_glWidget, fix return types for realize and map callbacks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 04:51:34 +00:00
Paul Cornett
3780e2523c
fix for GTK assertion from gtk_widget_set_colormap, bug 1882040
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 04:44:57 +00:00
Václav Slavík
f8b3f03601
compilation fix for wxUSE_BOOKCTRL=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 22:00:33 +00:00
Václav Slavík
3bc9aac036
compilation fix for wxUSE_MENUS=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 21:58:20 +00:00
Václav Slavík
c7d6c56303
wxUniv/MSW compilation fix after wxDC changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 21:56:10 +00:00
Václav Slavík
e35dd7d3d3
added InitRGBA to generic wxColour to fix linking (patch #1881796 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 21:15:31 +00:00
David Elliott
f3f56f2fe2
Allow wxTopLevelWindowCocoa::SetDefaultItem(NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 19:17:42 +00:00
Vadim Zeitlin
1f526a8c79
avoid implicitly converting a wxWindow* to wxGLCanvas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 18:27:50 +00:00
Vadim Zeitlin
0c73d13351
no changes, just fix a typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 17:21:41 +00:00
Michael Wetherell
901331c9f9
Move mingw32 builds to another machine as the usual one is down.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 15:02:05 +00:00
Václav Slavík
c9faa9e9a2
Fixed compilation of wxVector<T> with VC6:
...
* reverted VC6 hack in wxIf<>, using helper struct instead of typedef
didn't fix compilation, only caused the compiler to crash instead
of emitting semi-useful errors
* changed wxVector to use typedef for Ops class instead of privately
deriving from wxIf<...>::value; this is enough to make VC6 happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 11:26:52 +00:00
Vadim Zeitlin
e047f594b6
use HandleWindowEvent() in ProcessCommand(); return the value this function returns instead of returning true unconditionally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 21:32:17 +00:00
Vadim Zeitlin
4b90273553
added missing wx/ prefix to the header file name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 21:24:13 +00:00
Václav Slavík
dc409d37f2
clarified EndModal assert message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 19:49:24 +00:00
Julian Smart
b212c69eca
Added checks to encoding conversion to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 17:03:10 +00:00
Chris Elliott
7cdeb14d3a
add ms78 projects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 13:48:04 +00:00
Václav Slavík
04e5392a8d
do the VC6 hacks only when compiling with VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 08:49:42 +00:00
Vadim Zeitlin
e6649f2d55
more VC6 fixes: nested value must be real classes, not typedefs; skeleton declaration must contain value as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:31:04 +00:00
Vadim Zeitlin
52e5cc357e
corrected comment: wxSingleInstance is not for Win32 only since about 10 years
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:11:55 +00:00
Václav Slavík
7ca735413a
corrected VC++ version check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 19:50:34 +00:00
Vadim Zeitlin
986d59e27e
fix compilation with VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 18:37:38 +00:00
Robin Dunn
ccc998cc5c
use import/export macro on wxTrackable to avoid warnings on derived classes in DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 17:41:10 +00:00
Robin Dunn
316c9cfe4a
Apply change in r51405 to this file too: don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 17:39:56 +00:00
Václav Slavík
d05b30e400
VC5 didn't support partial specialization either, check for VC>=7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 17:38:04 +00:00
Václav Slavík
4d2df97f6c
wx*DCImpl PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 14:09:56 +00:00
Václav Slavík
a38c9b4337
added wxCHECK_VISUALC_VERSION macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 12:22:13 +00:00
Václav Slavík
28f0592cd9
compilation fix for VC6, it doesn't support partial template specialization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:26:30 +00:00
Julian Smart
2766de131f
Corrected wxSetCursor documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:18:22 +00:00
Vadim Zeitlin
6b9c622a2e
define __VISUALCn__ for n=5,6,7,8,9 and not only 8 (should have been part of r51353)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:14:51 +00:00
Vadim Zeitlin
d57b71603f
significantly simplify this file by using token pasting in #incoude and #pragma comment(lib) instead of repeating them 4 or 8 times
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:11:15 +00:00
Julian Smart
ddcbe73271
Fixed global cursor setting on Mac, which fixes busy cursor and context help cursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:02:47 +00:00
Paul Cornett
d968078adb
Remove unnecessary IsRadioButton().
...
Replace m_blockEvent with g_signal_handlers_block().
Remove wxRadioButton::DoGetBestSize(), it just calls the base.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 04:02:33 +00:00
Paul Cornett
194323c7c0
remove unnecessary ?: operator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-28 21:03:39 +00:00
Vadim Zeitlin
a619d8c959
fix compilation error for wxUSE_DC_CACHEING==0; use more descriptive variables names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-28 15:25:21 +00:00
Paul Cornett
e0749635a5
HP aC++ 3.80 can't handle parenthesized string literal in an initializer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-28 04:15:11 +00:00
Paul Cornett
3b2f109dbb
another fix for HP-UX 11.11 vsscanf, should have been in r51260
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-28 04:14:54 +00:00
Julian Smart
44580804c2
Take basic style into account when applying style sheet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:37:17 +00:00
Julian Smart
3f239e3760
Take basic style into account when showing style under cursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:34:23 +00:00
Václav Slavík
84d2877f32
UTF-8 build fixes for appending, setting or searching for NUL characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 16:29:52 +00:00
Václav Slavík
4f03ec887b
converting temporary wxString to const wxChar* and storing that doesn't work (and doesn't even compile if wxUSE_STL), fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 16:25:33 +00:00
Václav Slavík
6e63b5c9d8
Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other applications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 15:28:27 +00:00
Vadim Zeitlin
1894e49f51
add wxCONCAT[345]() helper macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 14:10:53 +00:00
Vadim Zeitlin
c058cafa56
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Vadim Zeitlin
d102b02a88
only define wxEventPtr in wxBase, not wxCore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:57:04 +00:00
Vadim Zeitlin
75aea0d824
define (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with MSW implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:43:46 +00:00
Vadim Zeitlin
561d687c49
don't reference non-existent doc.xmb file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:42:28 +00:00
Václav Slavík
c3c11581dc
added VC7/8 project files for samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 11:38:07 +00:00
Vadim Zeitlin
07f87b6b2e
don't fail in wxTransferStreamToFile if file size is exact multiple of 4KB (bug 1835918)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:23:09 +00:00