Commit Graph

480 Commits

Author SHA1 Message Date
Robin Dunn
451c5cc7b9 wxSTC changes to help it work better on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Robin Dunn
0f713d485b Fixed a lost #else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Robin Dunn
81b32ce522 wxSTC begins to work on wxMac...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:44:33 +00:00
Robin Dunn
0c5b83b0fa Added some inline helpers so the dependence on wxUSE_UNICODE and
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
Robin Dunn
267484bc4f The use of wxPopupWindow fo rhte autocomplete and calltip windows is
now a little better integrated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 20:33:54 +00:00
Julian Smart
b669b781c2 Customization dialog not implemented, so don't show the menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 10:01:41 +00:00
Gilles Depeyrot
69b8ed1bbc implemented cbCommonPaneProperties copy constructor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:36:12 +00:00
Gilles Depeyrot
2a66db28a9 pi is static to avoid link error under Mac OS X (already defined by system lib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:32:08 +00:00
Robin Dunn
9c46ea6647 Make it easier to not use wxPopupWindow in wxSTC, and for now, don't
use it at all for the AutoComplete window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:30:40 +00:00
Václav Slavík
40e2d13434 use XML namespace in XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:59:02 +00:00
Vadim Zeitlin
4deae7a033 ARCHINCDIR must be defined in makeb32.env, not makefile.b32 (patch 548990)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 10:38:48 +00:00
Robin Dunn
26f4607d08 Ensure the caret flashes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:06:59 +00:00
Robin Dunn
18b9408737 Include wx/object.h to get the global memory operators if defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:42:09 +00:00
Mattia Barbon
f03b9d4585 Allow building with wxUSE_CALENDARCTRL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:34:59 +00:00
Václav Slavík
11032cd905 compatibility macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 22:50:56 +00:00
Julian Smart
935b53f2fb Project file update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:20:05 +00:00
Julian Smart
4e4dc03dcc Added define to STC VC++ project file
Ming/Cygwin makeprog.env clean target now cleans .exes
Edited version in install.txt
Copied HTML files from web files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:17:40 +00:00
Julian Smart
a977709b11 Canvas: added some DECLARE_CLASS macros to stop it failing
in class info initialisation
Mmedia: compiles agin
Plot: corrected VC++ project settings
Simple toolbar: should draw a highlight again now
Generic dir control: moved control ids to header for apps that
need to get hold of the individual controls
Scintilla: unconditionally compile Scintilla_LinkLexers() to correct
link error in sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:50:14 +00:00
Julian Smart
12d1ab44bb Fixed some bit-rot problems in contribs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:58:16 +00:00
Julian Smart
a570d5b302 Don't set a normal cursor for the frame, set the NULL cursor, else
text controls (for example) can get the wrong cursor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 21:05:14 +00:00
Julian Smart
e99e9bc322 Added FAQ topic for FL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 21:03:18 +00:00
Julian Smart
65e5084827 Added wxTB_NODIVIDER and wxTB_NOALIGN so native Windows toolbar can
used in FL.
Adjusted Windows toolbar height for wxTB_NODIVIDER style.
Removed some false memory leak reporting from fontmap.cpp, mimecmn.cpp,
strconv.cpp.
Added and used MapBitmap function in newbmpbtn.cpp so the right
colours are used under Windows.
<controversial>Added iniconf.cpp to WIN32 compilation</conroversial>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 13:13:51 +00:00
Robin Dunn
0b9dfbc00e Give access to m_lastKeydownConsumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:19:59 +00:00
Vadim Zeitlin
349f1d8ed3 fixed fl compilation after the recent tbar changes (patch 536539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:39:18 +00:00
Vadim Zeitlin
c81394060f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:35:33 +00:00
Robin Dunn
b272b6dc42 Don't use ConvertToBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:42:06 +00:00
Václav Slavík
5dff4e24c2 fixed sizers-inside-wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:23:59 +00:00
Václav Slavík
65812490f7 added radio menu items ot XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:23:50 +00:00
Julian Smart
618f2efa41 Added __WXX11__ tests where appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:32:18 +00:00
Robin Dunn
137b5242b1 More unicode related cleanup and fixes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Robin Dunn
10ef30eb53 wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
1a2fb4cd61 Updated wxSTC from Scintilla 1.40 to Scintilla 1.45
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:31:01 +00:00
Robin Dunn
f29c177351 Fixed compilation error and a stupid typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:19:43 +00:00
Václav Slavík
55232d19fe fixes to wxEditableListBox logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:33:29 +00:00
Robin Dunn
15dadf3155 Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR,
but points to the right, (duh...)  This cursor is now used in wxSTC in
the margin area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 22:52:15 +00:00
Robin Dunn
c1fa2fda3c Changes needed for wxUSE_UNICODE for wxOGL to compile. I'm not
completely sure everything was converted right, but it at least
compiles now (and appears to work in wxPython.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 20:50:40 +00:00
Václav Slavík
c109ef116d fixed to translatable strings output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:35:00 +00:00
Vadim Zeitlin
e53191be32 compilation fix after the array changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 12:25:03 +00:00
Václav Slavík
d41adb6e05 corrections to the wxEditableListBox patch, removed conflict indicator checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:59:15 +00:00
Václav Slavík
dd1d4b137b applied patch to wxEditableListBox that adds wxEL_ALLOW_{EDIT,NEW,DELETE} with obvious meanings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:57:35 +00:00
Robin Dunn
6187ec8f45 Added patch that adds style flags for wxEditableListBox to not use
some of its standard buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:10:04 +00:00
Julian Smart
cd72551c2b Added VC++ project files for remaining Gizmo samples
Corrected some precompiled header issues for dynsash samples
Corrected IMPLEMENT_ABSTRACT_CLASS in multicell.cpp
Added an event function typedef and used it in dynsash sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 10:06:23 +00:00
Gilles Depeyrot
41b3c9662d correction to float array declaration following array implementation changes (will compile and run as before but probably doesn't do what was intended)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 09:47:22 +00:00
Julian Smart
45da7759b8 Applied [ 516382 ] FL toolbar patch
This patch addresses following issues on FL dynamic
toolbar:

* Removes duplicate code in
wxNewBitmapButton::RenderLabelImage(). (The code
between line 452-500 and 502-550 is the same.)

* Adds wxNewBitmapButton::Enable() own method to proper
drawing of enabled/disabled buttons.

* Changes "focused" state (of wxNewBitmapButton)
implementation from EVT_MOTION to
EVT_ENTER/LEAVE_WINDOW pair, because capturing mouse in
EVT_MOTION handler blocks some key events (control
characters, function keys), so underlynig app doesn't
receive all key events when mouse pointer is above
toolbar button.
Also "prev" state member variables are removed by this
patch (and IMHO they should be removed regardles on
accepting this patch - they are initalized and used
only in wxNewBitmapButton::OnMouseMove() method).
(Note: Blocking some keys can be only MSW problem, but
I can't verify it.)

* Adds EVT_LEFT_DCLICK handler to wxNewBitmapButton -
without this handler, toolbar button loses second
clicks if user presses left mouse button "fast enough".
Unfortunately, it doesn't handle drawing of
pressed/released button - it's only one event in
contrast to EVT_LEFT_UP/DOWN.

* Enables tooltips (in proper
wxDynamicToolBar::AddTool() method).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 19:05:25 +00:00
Václav Slavík
718cf16095 fixed translatable strings handling in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:58 +00:00
Julian Smart
247194a3ae Added a test for lastH.IsOk()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:00:33 +00:00
Robin Dunn
e531b73f89 Changes for wxOGL since wxFatalError has been deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:16:07 +00:00
Robin Dunn
59840ba3b1 Fix so OGL can build without wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:51:08 +00:00
Václav Slavík
d96f63000a fixed a typo (_ instead of wxT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 23:31:23 +00:00
Václav Slavík
cb7acf9cc7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:30:27 +00:00