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