David Elliott
ce20d822b0
Compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-08 15:07:25 +00:00
David Elliott
016b064360
Implement wxMask given a wxBitmap and a mask wxColour.
...
TODO: Masks from other sources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-08 15:01:39 +00:00
Gilles Depeyrot
878973f1fa
applied SourceForge patch # 854330 for Filedialog Unicode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-07 21:20:35 +00:00
Gilles Depeyrot
bc93670d3b
corrected Unicode conversion when replacing shared library extension with ".rsrc"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-07 21:11:49 +00:00
David Elliott
b60c6e9776
Added simple implementation of (Get|Unget)RawData.
...
Premultipied alpha is not handled at this point.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-06 23:27:08 +00:00
Julian Smart
83e96c90f8
Added wxWinCE project files and project file cleaner,
...
from "Viktor Voroshylo" <viktor@voroshylo.com >
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-04 08:59:16 +00:00
Václav Slavík
9f01cb2918
unknown controls container can't be subclassed, assert if somebody tries it (as does DialogsBlock)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 14:32:51 +00:00
Robin Dunn
e8e24dfa93
Use InheritAttributes for wxGTK widgets so they will check
...
ShouldInheritColours. Set wxButton to not inherit colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 03:24:47 +00:00
Julian Smart
37b53d2a7b
Patches from "Viktor Voroshylo" <viktor@voroshylo.com>
...
isses with context menu on real PocketPC device
static text not showing full message under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-02 08:56:47 +00:00
Vadim Zeitlin
492e2a5b07
marked FindColour() as deprecated; removed AddColour() which was only used internally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 13:41:12 +00:00
Dimitri Schoolwerth
56fc3fa5b3
Fixed possible usage of uninitialized variable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 22:46:27 +00:00
Julian Smart
80a81a12af
WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>
...
1) to take care of ShowFullScreen.
2) will make WinCE context menu in listctrl to generate the same event as right click. WinCE does not have right click so I think it is reasonable solution for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 09:19:18 +00:00
Julian Smart
44d0c580e6
Attempt to fix Borland compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-27 12:13:20 +00:00
Dimitri Schoolwerth
685a634c8d
Fixed signed/unsigned warning (GetCount() returns size_t, not int); Slight cosmetic cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-27 12:09:08 +00:00
Václav Slavík
549a7c375f
set m_language even when wxstd.mo wasn't loaded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 20:03:17 +00:00
Dimitri Schoolwerth
5de65c6930
Declaration of CopySelection is bool instead of void.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:57:34 +00:00
Václav Slavík
3202d00dc9
assert if wxLocale::Init called twice
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:33:35 +00:00
Vadim Zeitlin
8feaa81f86
don't test whether m_selection is NULL both before calling CopySelection() and inside it; one time is enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:52:48 +00:00
Vadim Zeitlin
689c48297e
fixed memory leak (m_selection wasn't deleted)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:50:10 +00:00
Dimitri Schoolwerth
e64313babf
Applied patch #809919 (Allows wxMac threads to run at fullspeed).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 20:53:35 +00:00
Dimitri Schoolwerth
e128397f93
Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 14:25:05 +00:00
Stefan Neis
144cf6da64
Enabled handling of drive letters on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:49:37 +00:00
Stefan Neis
0d853c5412
Fixed drive handling on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:38:30 +00:00
Stefan Neis
5a3912f2ab
Fixed & improved file handling on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:29:46 +00:00
Stefan Neis
7d354cd1df
Unified OS/2 and Unix code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 18:45:21 +00:00
Gilles Depeyrot
de127c699b
applied SF patch #846738 mousewheel support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 12:06:18 +00:00
Mattia Barbon
f148f2bac3
Avoid double free in wxComboBox::SetClientObject.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:17:57 +00:00
Mattia Barbon
8e5ec9cc58
Compilation fixes for wxUSE_STL == 1 and for wxUSE_UNICODE == 1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:16:36 +00:00
Mattia Barbon
1a6d9c7680
New wxHashTable implementation when wxUSE_STL == 1. Replaces
...
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Robin Dunn
3403ccd5ae
Uses wxSystemSettings for colour when there is no window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:15:35 +00:00
Mattia Barbon
4b7f540b8c
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 22:49:12 +00:00
Gilles Depeyrot
a4f5b9b9a3
applied SF patch #846732 file dialog long filename support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 21:01:03 +00:00
Robin Dunn
6be0b53f3d
When used from wxHtmlListBox it's possible for GetWindow to return NULL.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 23:12:50 +00:00
Dimitri Schoolwerth
3e778e3bde
Fixed gcc compiler warning (size_t was assumed to equal an unsigned int).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 18:18:58 +00:00
Julian Smart
e688defd59
Fixed WinCE compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 22:25:03 +00:00
Dimitri Schoolwerth
1e1cc1ce95
Implemented missing pure virt functions (stub functions for now).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 19:29:20 +00:00
Stefan Csomor
a2825c340a
XTI support for checklist
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 16:30:04 +00:00
George Tasker
9af163d74d
Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable
...
fixed issues with wxDb::DBMS() that were not correctly detecting MySQL databases using MySQL v4. also removed erroneous/duplicated code in this function that looked like a result of a bad merge at some point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 14:50:09 +00:00
Julian Smart
eae4425db6
WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Robin Dunn
3ac7b44cc0
Added FindItemAtPoint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:20:09 +00:00
Dimitri Schoolwerth
5ea02ed5df
Don't leave behind trails from glowing OS X button (By extending invisible button border).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 17:52:25 +00:00
Dimitri Schoolwerth
68f572da6e
Ignore ReleaseBuild directory (Created by MSVC's "Win32 Release With Debug Info" config).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 16:54:13 +00:00
Stefan Neis
b08c90ca63
Modified wxGetHomeDir to take environment variable HOME into account.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 22:20:41 +00:00
Stefan Neis
a85585d595
Fixed the code to actually work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 21:56:50 +00:00
Dimitri Schoolwerth
37d729ed98
wxPopupWindow was not compiled when not using pch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 20:53:10 +00:00
Mattia Barbon
dad6a47e6d
Changes corresponding to patch #841324 from Ian Brown:
...
"GetPosition() returns wrong result for dialog". Moved implementation
from wxFrame to wxTopLevelWindow thus sharing it between wxFrame
and wxDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:28:37 +00:00
Mattia Barbon
795c00bdcc
Made element layout consistent with wxMSW/wxGTK when
...
radiobox is wider/taller than necessary. Previously
the last element was stretched to fit remaining space.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:14:34 +00:00
Mattia Barbon
6746fe58b5
Applied changes corresponding to patch #840617 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:07:24 +00:00
Mattia Barbon
178edd2a32
Applied patch #840643 from Ian Brown with some modifications:
...
use DisplayWidth/DIsplayHeight instead of hardcoded values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 21:12:24 +00:00
Vadim Zeitlin
2dc357ea28
expand the value of HOME env var in wxGetHomeDir() because it may contain env vars inside it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 15:42:40 +00:00