Robin Dunn
1e61c543ee
Wrapper for new HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:28:01 +00:00
Robin Dunn
4aae4a085c
Fix for unhiding the other version of the base class HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:26:25 +00:00
Vadim Zeitlin
c04ec49657
fixed inserting styled text into an empty control under GTK+ 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Vadim Zeitlin
7ff64980aa
don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:52:18 +00:00
Vadim Zeitlin
6726a6b097
implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows gives us
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:32 +00:00
Vadim Zeitlin
9539029134
cosmetic change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:01 +00:00
Robin Dunn
10a5988077
Avoid an assert in wxFrame::SetTitle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:31:48 +00:00
Vadim Zeitlin
692c9b8696
implemented HitTest() for GTK2; test it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Włodzimierz Skiba
e38c6b5fc7
wxUSE_STATLINE fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:06:03 +00:00
Włodzimierz Skiba
5e0dbc8dd9
wxUSE_STL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:04:12 +00:00
Vadim Zeitlin
4b7ded8bad
compilation fix for gcc (closes bug 996701)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 17:49:51 +00:00
Václav Slavík
9146872cb5
changed to behave in same way as native win32 control and generic wxListCtrl when wxEVT_COMMAND_TREE_END_LABEL_EDIT is vetoed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:28 +00:00
Václav Slavík
daa44d5bfd
documented while event.Skip() is necessary so that nobody removes it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:23 +00:00
Václav Slavík
2e07bdda0a
reverted JS' rev. 1.27 - the real fix was 1.28, disabling recursion protection is not good idea
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:44:46 +00:00
Robin Dunn
7ef05b886f
Changed to match wxPython's current subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 15:41:32 +00:00
Włodzimierz Skiba
a2a03d7864
wxUSE_STL/wxArrayString fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 14:33:01 +00:00
Włodzimierz Skiba
99f161bd99
Correct definition of sorting function.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 11:26:07 +00:00
Vadim Zeitlin
eeade4ccca
added wxSUBRELEAS_NUMBER and macro to check for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 10:38:25 +00:00
Vadim Zeitlin
7e06588478
fixed ShowModal() return value typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 10:01:55 +00:00
Włodzimierz Skiba
42bbdbff31
wxUSE_BUTTONBAR removed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:21:07 +00:00
Włodzimierz Skiba
8d0f1c1cbf
wxUSE_STL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:04:10 +00:00
Włodzimierz Skiba
9738cd3118
wxUSE_STL fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:58:29 +00:00
Włodzimierz Skiba
886c25325e
Simplified html reading because previous one caused conflicts in wxUSE_STL=1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:56:51 +00:00
Włodzimierz Skiba
27dc5184e5
wxUSE_STATLINE fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:51:53 +00:00
Robin Dunn
adce89c32f
Default value for WX_CONFIG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 05:07:00 +00:00
David Elliott
f497359506
Revert my id10t error.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 01:41:00 +00:00
David Elliott
db36543353
Fix compilation with older (before C99) C compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:25:48 +00:00
Robin Dunn
d2d049f28a
Just to be sure...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:24:25 +00:00
Robin Dunn
c7aee86546
Also don't send set focus events when the window is being deleted.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:23:46 +00:00
Włodzimierz Skiba
cbf311dd17
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:59:31 +00:00
Włodzimierz Skiba
4aa0bd9b31
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:34:59 +00:00
Václav Slavík
b3de4970ca
fixed symlinks creation on platforms where ln -s is cp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:24:53 +00:00
Włodzimierz Skiba
83f98b0d1d
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:14:29 +00:00
Mattia Barbon
4e75b65f7c
Added compatibility functions for wxUSE_STL = 1:
...
void wxArrayString::Sort(CompareFunction function)
void wxArrayString::Sort(bool reverseOrder).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:08:21 +00:00
Włodzimierz Skiba
36ca94a260
wxUSE_STL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:07:59 +00:00
Włodzimierz Skiba
b02a6dc2b6
wxUSE_STL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:51:13 +00:00
Włodzimierz Skiba
8833e26cbd
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:47:17 +00:00
Robin Dunn
339983ff62
Patches from Will Sadkin:
...
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
generated on control destruction, to prevent tracebacks
TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
is called.
- Added AppendItems() for ComboBox
NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
than '.'
TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
appropriately if format supports it, and added code to check if
local timezone uses "AM/PM" for this concept; if not, control now
defaults to 24hour format, and disallows the am/pm form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:38:34 +00:00
Włodzimierz Skiba
b591b7cf2b
Removed unused variable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:35:51 +00:00
Robin Dunn
e9019d1ce3
Install headers to the new location, use the new wx-config options
...
instead of building the wx-{toolchain}-config name myself, incremented
the version number.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:15:18 +00:00
Robin Dunn
2aa0b8c146
No longer have to hold a reference to the sound object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:29:07 +00:00
Robin Dunn
2116a0d13a
Fix so sound looping will stop, courtesy of Ryan Norton.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:13:19 +00:00
Włodzimierz Skiba
22b636aa15
wxUSE_STL=1 fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:53:14 +00:00
Włodzimierz Skiba
79c250d8d8
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:52:08 +00:00
Vadim Zeitlin
6faac21b0b
reimplemented wxBitmap::ConvertToImage() using wxDIB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:45 +00:00
Włodzimierz Skiba
e11d2abe46
Alternate form of condition readable for Borland compiler.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:28 +00:00
Włodzimierz Skiba
a56938e475
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:45:02 +00:00
Vadim Zeitlin
dd779a9e66
added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar * and not void *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:43:57 +00:00
Václav Slavík
0ca3b64f14
use sizers instead of constraints in wxProgressDialog (patch 980364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 10:15:36 +00:00
Václav Slavík
d8b5a5175b
don't select first hit in index if it is multi-topic entry, it causes a dialog to pop up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 09:35:33 +00:00