Commit Graph

19727 Commits

Author SHA1 Message Date
Václav Slavík
6f7eb299f0 fixed client<->window coords translations in DoMoveWindow and DoSetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:23:25 +00:00
Robert Roebling
7962f85aae [ 1564062 ] wxComboCtrl popup height fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:17:45 +00:00
Robert Roebling
d72f87f60b Implememt GetColoursCount() in the generic wxPalette.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:54:11 +00:00
Robert Roebling
84140dc956 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:47:14 +00:00
Robert Roebling
5633b968f5 [ 1557935 ] wxPalette::GetColoursCount implementation
I commited the version which MSDN claims to be
     available since Windows 95. No idea why MFC
     doesn't use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:35:09 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Robert Roebling
ce9685190e [ 1560860 ] wxComboCtrl EVT_TEXT filtering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:04:25 +00:00
Robert Roebling
25dff19c97 Reset m_oldValue of after ::SetValue().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:00:17 +00:00
Robin Dunn
65d48a2acf Fix my last fix. The method is pure virtual in the base class so it
can't be fully removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 22:55:55 +00:00
Robin Dunn
581b9f53ae Remove the wxVariantDataString::Read method since the >> operator it
depends on has been removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:55:03 +00:00
Robin Dunn
0100ee7daa Patch from Tim Kosse to allow virtual list ctrl to work when using the
generic control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:47:57 +00:00
Robin Dunn
e64481bf07 Catch WXK_NUMPAD_DELETE and WXK_NUMPAD_INSERT too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:19:45 +00:00
Kevin Ollivier
54638f9e66 Fixing SetColumnWidth and selection handling, attempt at fixing ClearAll(), and initial impl. for EditLabel / EndEditLabel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:37:01 +00:00
Kevin Hock
9d4b8a5d0d When autosizing a row or column (AutoSize____), use GetMultiLineTextExtent to determine header size. Otherwise, the column header widths are artificially inflated, and row header heights are not high enough.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:20:40 +00:00
Stefan Csomor
ded83b1a5c further encapsulation of graphics context, wxdc becoming 'generic'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:28:15 +00:00
Jouk Jansen
a843055617 Update OpenVMS make files
Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/univ/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 13:04:18 +00:00
Václav Slavík
4ff28c37c8 implemented SetFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 06:55:08 +00:00
Vadim Zeitlin
71c1dbbd54 don't release the DC which we don't own in wxUSE_UXTHEME case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 00:50:53 +00:00
Václav Slavík
dd267523d0 put remaining toolbars-related methods into #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 17:30:07 +00:00
Václav Slavík
4d163bf87d send wxChildFocusEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:09:21 +00:00
Václav Slavík
3dcc2231fa fixed DrawText to use text colours instead of pen+brush colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 12:56:28 +00:00
Włodzimierz Skiba
341f776cf0 PCH build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 10:22:31 +00:00
Václav Slavík
224175a564 hide the caret before setting m_updateRegion: produces small flicker, but works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 10:13:42 +00:00
Stefan Csomor
3bf033e421 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 06:27:58 +00:00
Włodzimierz Skiba
0a5c89cfec PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 05:49:00 +00:00
Stefan Csomor
cb305e1e9f getting out for 'addded' events early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 05:38:12 +00:00
Vadim Zeitlin
639e001d87 removed operator>>(istream&, wxString&) -- it's better to not have it at all than have an empty function which compiles but doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:59:17 +00:00
Kevin Ollivier
1c36c09cd5 Remove instances where wxGenericImageList is included directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:33:47 +00:00
Vadim Zeitlin
fc875d57b7 make colours of the selected text inversed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:10:18 +00:00
Vadim Zeitlin
7419ba028c add more virtual border drawing functions used by frame decorations code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:09:08 +00:00
Vadim Zeitlin
d2328d9822 centre frame decoration bitmaps in their buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:55:04 +00:00
Vadim Zeitlin
c4410265e9 removed stubs for frame decorations drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:52:47 +00:00
Vadim Zeitlin
249803fbcd move frame decorations drawing to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:49:57 +00:00
Vadim Zeitlin
bfd5f90953 fix infinite recursion in DrawStatusField() after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:41:49 +00:00
Vadim Zeitlin
2296981b65 added stubs for the missing functions, this theme links now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:25:40 +00:00
Vadim Zeitlin
1cd9779fce move generic part of AdjustSize() and status bar methods to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:24:29 +00:00
Vadim Zeitlin
fb61f58a73 define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:15:52 +00:00
Vadim Zeitlin
3a01afec26 first compilable version of the mono theme, replacing the accidentally checked in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:57:36 +00:00
Stefan Csomor
8d700f716f preliminary editing support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:48:15 +00:00
Vadim Zeitlin
0428ac8c47 moved Arrow_ constants to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:38:18 +00:00
Stefan Csomor
3ef4e126a2 undoing my duplicate efforts to solve the same problem ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:37:25 +00:00
Stefan Csomor
0e4124e753 adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:33:06 +00:00
Stefan Csomor
640fa8f3ce adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:29:58 +00:00
Vadim Zeitlin
6229b92fb3 refactored common parts of DrawItem() in the base class; implemented GetTextTotal/ClientArea() there as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:51:14 +00:00
Robert Roebling
67a083dd38 [ 1505048 ] wxHtml rendering of underlined text
by using a Pango hack to make it underline leading
   space and trailing space. recognized as a Pango
   bug fixed in recent Pango.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:18:15 +00:00
Robert Roebling
1e8dba5e29 Made MSW wxSpinCtrl emit UPDATE event when validating
the value in the text field upon kill focus.
 Documented this behaviour.
 This is in line with the GTK+ control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:15:14 +00:00
Jamie Gadd
ffabb347f9 Fix label positioning when text is LTR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 12:05:49 +00:00
Julian Smart
24964201d5 Reverted last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:17:13 +00:00
Václav Slavík
d18a706166 last change broke seting the surface in the common case, fixed (and reorganized the code a bit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:09:51 +00:00
Robert Roebling
0bb3fc29c3 Fixed [ 1556843 ] wxGTK FindFocus returns NULL when a wxListBox is focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:08:53 +00:00