Vadim Zeitlin
e913be3465
fixed another pointer-to-int-of-lesser-size conversion warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:40:00 +00:00
Vadim Zeitlin
e98e625cbb
change longs used for bitmap types to wxBitmapType ( #9126 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:33:58 +00:00
Vadim Zeitlin
9543d01ca1
don't leave current item index invalid after SetItemCount() (ticket #3720 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 22:55:23 +00:00
Vadim Zeitlin
1dbdf191dc
remove another unnecessary memcpy() of string contents to wxStringBufferLength
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:24:35 +00:00
Vadim Zeitlin
dac131af1d
remove unnecessary memcpy() of string contents to wxStringBufferLength
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:20:22 +00:00
Vadim Zeitlin
062dc5fc22
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845 ); add wxString::tchar_buf() to help with the implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:19:23 +00:00
Vadim Zeitlin
1bc8210593
compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:06:16 +00:00
Vadim Zeitlin
3d68e52c8f
compilation fixes for ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 20:56:16 +00:00
Vadim Zeitlin
44c6d979a8
removed the test which never works: Lower/Upper() don't work with Unicode strings currently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 20:55:39 +00:00
Julian Smart
7ab9d2358b
Fixed reading of image type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 15:21:54 +00:00
Vadim Zeitlin
f7541d4807
corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 23:51:04 +00:00
Václav Slavík
82a4610423
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:05:52 +00:00
Vadim Zeitlin
7f5b84c22f
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 13:47:32 +00:00
Václav Slavík
37146d3352
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
7258d99573
Changed wxHTML default font size for printing to be 12pt regardless
...
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 22:34:09 +00:00
Václav Slavík
84e455807e
wxDFB: implemented Raise() and Lower() for TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 21:50:06 +00:00
Vadim Zeitlin
79478afacd
compilation fix for wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 18:46:15 +00:00
Václav Slavík
66b5a37503
glcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was previously silently ignored)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 14:19:18 +00:00
Stefan Neis
b152ff67a7
More compilation fixes for mingw-w64.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 10:53:02 +00:00
Julian Smart
9c8e10ad37
Out by one correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 06:14:59 +00:00
Robert Roebling
89edb75e59
Remove old GTK 1.2 code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 19:49:06 +00:00
Benjamin Williams
a25484eb13
prevent memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:52:59 +00:00
Vadim Zeitlin
c094d747a8
removed deleted wx/gtk/treectrl.h from bakefiles as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:14:03 +00:00
Vadim Zeitlin
345d60d357
fix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 12:45:43 +00:00
Robert Roebling
92159e3d76
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Vadim Zeitlin
c71396b42d
suppress warning about casting int to a pointer of greater size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:50 +00:00
Robert Roebling
3b3026ca0b
Make wxMenuItem::GetLabelText readable again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:41 +00:00
Vadim Zeitlin
42124e683d
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00
Robin Dunn
f60ca3e24c
Add a SetDoubleBuffered method for wxMSW (XP+)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4
Disable disabling wxWeakRef<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Václav Slavík
e835292782
regenerated all trunk makefiles with bakefile-0.2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 14:48:50 +00:00
Václav Slavík
b64608901a
fixed OSX bundles bkl code to handle conditional targets correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 10:39:10 +00:00
Vadim Zeitlin
a7d9f9fc1e
added a note about wxrc to Xcode section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 08:04:17 +00:00
Vadim Zeitlin
aa1c09fe1c
remove mentions of contrib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 22:39:57 +00:00
Vadim Zeitlin
efce184b1d
fix the test for vsscanf() declaration which never passed because it was trying to use char* instead of va_list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 22:34:57 +00:00
Vadim Zeitlin
3fb1e0594a
use wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:19:43 +00:00
Vadim Zeitlin
23f3f8c2ac
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:17:04 +00:00
Paul Cornett
ddb57e4557
fix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:02:49 +00:00
Vadim Zeitlin
2e334012b4
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:52:22 +00:00
Vadim Zeitlin
24671bc900
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:42:33 +00:00
Vadim Zeitlin
834054468b
don't run GUI tests under Unix if the DISPLAY is not set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:33:36 +00:00
Vadim Zeitlin
14b4f6fcc0
ReadBig() should be defined in ANSI build too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:59:10 +00:00
Vadim Zeitlin
7ace5fd8e0
include wx/crt.h to get wxUSE_WXVSNPRINTF
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:58:17 +00:00
Vadim Zeitlin
0ef7449a2e
compilation fix for wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:56:46 +00:00
Vadim Zeitlin
a669640b7a
really fix the test to work in any time zone and with or without DST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:44:16 +00:00
Vadim Zeitlin
73d1f52bb0
added missing wx/wrapsizer.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:32:41 +00:00
Vadim Zeitlin
cf9f673789
fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
9aa7bedbb5
another compilation fix, now for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:13:33 +00:00
Stefan Neis
d450451a6d
Added mingw-w64 builds (cross compile on i686-linux).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:24:53 +00:00
Vadim Zeitlin
ba4ed8f465
fix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:07:44 +00:00