Vadim Zeitlin
f9dae7798b
added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:53:00 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
70dc287a39
removed wxFunction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
7e7d30dae4
removed old wxEntry() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:14:06 +00:00
Vadim Zeitlin
05e2b077c6
more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091
extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Vadim Zeitlin
aaf7ab431b
added wxIconLocation; minor fixes to wxIcon on some platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Mattia Barbon
6c33b24c53
Derive wxScrollBar from wxScrollBarBase, plus miscellaneous
...
refactoring. Adjusted default scrollbar size to match the
size of wxScrolledWindow (and other scrolled controls) scrollbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:36:31 +00:00
Mattia Barbon
ffa3d6b8a3
Removed some duplicated code, made wxCursor( wxImage )
...
handling of dark/light colors agree with wxMSW and wxGTK, i.e.
dark -> black, light -> white.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:31:41 +00:00
Mattia Barbon
148b44a1e7
Used wxRegion code from wxX11.
...
Removed update rect list from wxWindow
(not necessary anymore).
Simplified and corrected clipping region handling
in wxWindowDC. Stopped wxWindowDC::DoBlit from
destroying the clipping region.
Simplified wxPaintDC code.
Added wxWindow::DoCreateScrollBar helper function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 19:41:05 +00:00
Mattia Barbon
94e785e128
Remove duplicate wxEmptyString declaration.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:36:33 +00:00
Mattia Barbon
76208c7ef6
Remove dead code. Factor out duplicated code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 20:14:07 +00:00
Mattia Barbon
9a595736d0
Derive wxStaticText from wxStaticTextBase, remove dead code/code
...
duplication. Likewise for wxStaticBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 20:02:15 +00:00
Mattia Barbon
6769d0cbf3
Factored out some common code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:04:08 +00:00
Mattia Barbon
47be989f6b
Implemented copy-on-demand for wxClipboard.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:55:35 +00:00
Mattia Barbon
0cc1d4ff2a
Removed redundant wx<Control>NameStr declarations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:52:43 +00:00
Gilles Depeyrot
3399051ee9
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
contain a bug concerning #pragma interface handling that can only be worked
around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 17:57:23 +00:00
Vadim Zeitlin
243dbf1a50
Insert() patch from John Labenski
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:58:28 +00:00
Mattia Barbon
dd38c87578
Implemented wxBitmapDataObject.
...
Implemented generic wxDataObject support in wxClipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +00:00
Mattia Barbon
eb6fa4b425
Changed the way ApplicationShells are used: now wxMotif
...
creates one ApplicationShell per display, and makes top
level windows popup childs of the ApplicationShell.
Removed a couple of unused variables from wxApp.
Replaced some calls to wxGetDisplay with XtDisplay(widget)
or event.xany.display, and some others with wxGlobalDisplay
(the latter changes are just eyecandy).
Used wxFlushEvents where appropriate.
Fixed (hopefully) wxFindAcceleratorText and wxFindAccelerator;
for now the new version is still disabled, awaiting further testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:40:46 +00:00
Robin Dunn
819451b6c7
Reversed the meaning of black and white in wxRegion::ConvertToBitmap
...
so it matches the menaning of black and white in wxMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Mattia Barbon
8a73873fa0
Not used anymore.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 12:13:31 +00:00
Mattia Barbon
a8680e3e0e
Code clanup: removed some useless/unused member
...
variables/functions from wxWindow; used
wxTranslateMouseEvent instead of duplicating its
functionality.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 17:27:28 +00:00
Mattia Barbon
510bf1ec20
Fix wxMotif build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:58:01 +00:00
Mattia Barbon
f7f78039d2
Add tests for XShape extension API in configure,
...
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
Mattia Barbon
aae0472bf3
Use the wxBitmap implementation from wxX11
...
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:44:27 +00:00
Mattia Barbon
9ce8d6a2b0
Moved m_visual* wxApp[X11] members used by wxBitmap and
...
wxColour into a new wxXVisualInfo structure, and moved code
to initialize it to a new src/x11/utilsx.cpp file (utility
functions shared by wxMotif and wxX11).
Added (currently unused) code in wxMotif to
retrieve wxXVisualInfo; it will be used when wxMotif
is switched to bitmap.cpp from wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:15:11 +00:00
Mattia Barbon
59e034c034
Make wxIcon more independent from wxBitmap implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:48:57 +00:00
Mattia Barbon
dfa2a1d92b
Removed Motif files that only contained stubs
...
for functionality that is:
1 - not Motif, but rather OS/WM specific:
wxJoystick, wxWave, wxTaskBarIcon
2 - not provided natively by Motif:
wxColourDialog, wxFontDialog, wxDirDialog,
wxMetafile
3 - obsolete: wxTab*
4 - cruft: helpxxxx.h/cpp
Regenerated configure and some filelist.txt-dependent
files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 19:23:10 +00:00
Mattia Barbon
e8508ea8a8
Removed a deprecated wxBitmap constructor, and some
...
more deprecated code. Move XCreateInsensitivePixmap to
bmpbase.cpp (another step towards removing
src/motif/bitmap.cpp).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 18:53:47 +00:00
Mattia Barbon
66f8b9ace2
Moved wxWindow::SetSizeHints implementation to wxTopLevelWindow,
...
where it belongs, verified that it works for wxDialog, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:34:51 +00:00
Mattia Barbon
ccb234b4d0
Inherit LoadFile and SaveFile from wxTextCtrlBase, reduce
...
flicker caused by SetValue (the text itself still flickers a
bit, but now borders don't).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:32:00 +00:00
Mattia Barbon
fdfd5d49eb
Removed dependency on wxTabView.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:29:14 +00:00
Robin Dunn
1542ea396a
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
...
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Mattia Barbon
3dd709d8c3
FIxed wxRadioBox::Get/SetLabel.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:17:27 +00:00
Mattia Barbon
aae91497f6
Removed some old cruft from wxBitmap, moved wxMotif- and
...
wxControl-specific functionality (GetXXXPixmap) into a separate
class, and fixed the implementation. Adapted wxStaticBitmap,
wxBitmapButton and wxToolBar to the new situation.
Various fixes to wxToolBar: Realize does not create buttons
multiple times anymore, use the disabled bitmap as the disabled
bitmap, not as the toggled bitmap for toggle buttons (!),
reposition buttons/controls when a tool is removed/deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:40:32 +00:00
Mattia Barbon
fc7ca9b347
Made wxMotif Move/SetSize/DoMoveWindow/DoSetSize
...
behaviour more consistent with other ports. As a side effect
now wxCalendarControl works correctly under wxMotif, too.
Fixed wxWindow::ScrollWindow drawing artifacts when child
controls are involved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:34:10 +00:00
Mattia Barbon
2187eef5bb
Calling a virtual function from a destructor is not good:
...
rearranged code to avoid it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:22:55 +00:00
Mattia Barbon
d8d1818419
SetSelection must not send an event. Fixed an off
...
by one index, and a crash (probably a Motif bug).
Improved wxSpinButton appearance.
Fixed some build warnings here and there in the samples,
removed use of deprecated wxList methods in prntdlgg.cpp, fixed
aot-of-range ID in tipdlg.cpp, fixed some errors detected by
valgrind.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:20:59 +00:00
Mattia Barbon
93e73c740e
Do not derive wxCursor from wxBitmap, plus misc cleanup.
...
Derive wxGauge from wxGaugeBase, use XmScale for the
implementation if the Motif version supports the
XmTHERMOMETER style.
Derive wxSlider from wxSliderBase; generate
wxEVT_SCROLL_THUMBRELEASE in addition to wxEVT_SCROLL_THUMBTRACK;
misc cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 15:46:22 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Mattia Barbon
ea9868e8d2
Derive wxBitmapButton from wxBitmapButtonBase + misc cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 08:50:21 +00:00
Mattia Barbon
3e2d47e1a9
Added helper functions for string -> XmString conversion.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:40:53 +00:00
Mattia Barbon
a63b009834
Derive wxButton from wxButtonBase.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:39:01 +00:00
Mattia Barbon
da494b405d
Added new __WXMOTIF20__ macro, which is true if the Motif version
...
is 2.0 or higher.
Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
Miscellaneous cleanup; used wxXmString in some more places.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Mattia Barbon
483561c568
Refactored wxStaticBox, and changed wxStaticBox and wxRadioBox border
...
style from sunken to the default Motif style.
Added some convenience macros for checking Motif/Lesstif version.
Fixed the bug that caused wxStaticBox size to change when label text
was changed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 20:08:45 +00:00
Mattia Barbon
458ca8c1fd
Implemented wxButton::DoGetBestSize for wxMotif. Now normal buttons
...
and default buttons are visually the same size, however, given how
wxMotif draws default buttons, the Widget for a default button is
bigger (8 pixels by default), thus setting default border will
make the Widget grow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 10:09:25 +00:00
Mattia Barbon
e1aae52885
Implemented DoGetBestSize for wxListBox, (native) wxComboBox and
...
wxTextCtrl, and used it when wxSize(-1, -1) is passed to Create, to set
the initial size.
Added wxDoChangeFont and wxXmStringToString helper functions, removed
the use of m_stringList in native wxComboBox, removed some duplicated code
in wxWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 20:33:43 +00:00
Mattia Barbon
69c4481222
Use some wxX11 files (currently pen.cpp and brush.cpp) in wxMotif.
...
Add src/x11 to VPATH in configure, and add a new flag to filelist.txt
indicating a file used in wxMotif but not in wxMotif directory.
Modifed VMS makefiles, too (should be checked by someone with VMS,
though).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:20:47 +00:00
Mattia Barbon
08e5319b03
Implemented wxToggleButton under Motif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 18:20:23 +00:00
Vadim Zeitlin
9045ad9dfc
added DoSetNativeFontInfo() to avoid virtual function hiding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 15:42:27 +00:00
Mattia Barbon
ed39ff57b3
Remove unnecessary header dependencies. Fix resulting compilation
...
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Mattia Barbon
9b1bd0c6e7
Applied patch [ 679397 ] remove GPL code from motif build
...
from Ian Brown, with some modifications; this patch replaces the (GPL)
Motif ComboBox with an implementation based on the native (for Motif 2.0)
ComboBox. The old ComboBox is still used as a fallback for older Motif
versions. My modifications include some method's implementation and
some workarounds for LessTif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:09:03 +00:00
Mattia Barbon
00dd3b1897
Do not #include an header where a forward declaration suffixes. Do not
...
include wx/wx.h directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:40 +00:00
Mattia Barbon
7e1bcfa80e
Implemented wxEventLoop for wxMotif, and used it in wxDialog::ShowModal,
...
wxWindow::DoPopupMenu and for the application main loop.
Implemented wxWakeUpIdle.
Fixed crash when a popup menu entry is used to close/destroy the parent
window of the menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:48:50 +00:00
Mattia Barbon
1bc822dfb5
Derive wxBitmap from wxBitmapBase in wxMotif, with the appropriate
...
changes to wxIcon.
Fix deprecation warnings and use %p to format WXWidget in debug output
(fixes the 4 non-deprecation warnings).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 09:52:29 +00:00
Mattia Barbon
fd304d989b
Fix some wxMotif build warnings about deprecated methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 13:01:17 +00:00
Mattia Barbon
46675b4610
Implement vertical toolbar under Motif.
...
Notify parent frame when toolbar is moved/resized/added/deleted so that
frame childs can be correctly repositioned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:41:07 +00:00
Vadim Zeitlin
e30285abc6
compilation fixes for non default wxUSE_XXX values (patch 662781)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:20:46 +00:00
Mattia Barbon
a969055e89
Removed unused, unimplemented and undocumented wxBitmapCheckBox stub.
...
Minur cleanup in wxCheckBox::Create.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:42:38 +00:00
Mattia Barbon
0de6dfa701
Implemented wxToplevelWindowMotif. (forgot to commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 20:54:54 +00:00
Mattia Barbon
798a4529fe
Implemented wxToplevelWindowMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Mattia Barbon
99ab3e3f56
Use wxClientDataDictionary for client data.
...
Factored out common code into wxSizeKeeper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:41:42 +00:00
Mattia Barbon
ec75d791f0
Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
...
handling, implemented wxControlWIthItems' methods correctly, fixed a
couple of other bugs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:48:05 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
fe5de1ea10
Applied patch [ 608370 ] fix for static text sizing behaviour
...
wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.
I have tested on AIX 4.3 which is Motif 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:17:12 +00:00
Julian Smart
6886fcfafe
Applied [ 585322 ] motif border style fix for statictext
...
Applied fix to broken wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:25:00 +00:00
Julian Smart
c33c81c30f
wxChoice derives from wxChoiceBase; renamed Append to DoAppend
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 10:54:15 +00:00
Julian Smart
2ad99bc139
Applied [ 590985 ] fix for radiobox under motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:00:54 +00:00
Mattia Barbon
f37907ff76
Patch [ 588732 ] makes wxRB_GROUP/radiobuttons working
...
from Marcin Wojdyr (wojdyr)
Applied with some modifications (remove buttons from the chain on
destruction, or the program will segfault).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:54:46 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Mattia Barbon
ef41d80cdf
Refactored wxListBox code so that it correctly implements
...
wxControlWithItems, and removed some duplicated code.
Implemented wxCheckListBox using the same technique
as wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:35:41 +00:00
Mattia Barbon
395539f90f
Under MSW and GTK the foreground and background colour for a blit from a monochrome bitmap
...
are the text for/background colours. Until now motif used the pen and background brush colours.
Now Motif behaviour matches MSW and GTK one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:31:22 +00:00
Mattia Barbon
7af68c666b
Take into account icon mask in wxStaticBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:53:12 +00:00
Mattia Barbon
18128cbb47
Calss interface updates (wxMotif-only).
...
Made wxCheckBox inherit from wxChekBoxBase.
Corrected virtual function hiding in wxListBox.
Made wxRadioBox inherit from wxRadioBoxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:50:37 +00:00
Mattia Barbon
dba006200f
Implemented wxSpinButton for wxMotif.
...
Renamed generic wxSpinCtrl::DoGetBestClientSize to DoGetBestSize
( the "Client" appears to be a relic of the past ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 13:33:29 +00:00
Mattia Barbon
37c997b489
Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
...
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow.
As a result composite controls should work with Motif, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:10:37 +00:00
Jouk Jansen
474cd91658
Committing in .
...
changed one parameter in the definition of wxBitmap from long to int.
(just as it is in wxGTK). This solves a compilation problem on OpenVMS.
Modified Files:
wxWindows/include/wx/motif/bitmap.h
wxWindows/src/motif/bitmap.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:29:47 +00:00
Vadim Zeitlin
1eaf587e21
AIX linking fix (declare wxDataObject dtor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:17:58 +00:00
Chris Elliott
4daa4d665a
make motif cursor from wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 20:34:20 +00:00
Chris Elliott
b54459c491
STC and Motif patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:35:43 +00:00
Vadim Zeitlin
6b0d8a01d1
added default parameter values to the overloaded Show() and Enable() versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
3c67451472
added consts to wxAcceleratorTable ctors from wxAcceleratorEntry array
...
(repaces patch 561183)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:51:14 +00:00
Vadim Zeitlin
2245b2b2c3
changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Julian Smart
387ebd3eb7
Added wxDF_HTML
...
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Vadim Zeitlin
fcb35b5f05
wxMotif toolbar compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 11:26:04 +00:00
Václav Slavík
0e04ef47f6
move wxApp::GetStdIcon to wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Václav Slavík
546bfbea81
wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +00:00
Václav Slavík
329e276aa0
added wxBitmap::CopyFromIcon and wxIcon::CopyFromBitmap to wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:14:33 +00:00
Vadim Zeitlin
d65c269b3f
1. implemented radio menu items for wxGTK
...
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs
----------------------------------------------------------------------
Committing in .
Modified Files:
distrib/msw/tmake/filelist.txt docs/changes.txt
docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
include/wx/gtk/menu.h include/wx/gtk/menuitem.h
include/wx/mac/menuitem.h include/wx/motif/menuitem.h
include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
include/wx/univ/menuitem.h samples/menu/menu.cpp
src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
src/motif/menuitem.cpp src/msw/menuitem.cpp
src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
include/wx/features.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Václav Slavík
6b5d017e8f
removed AdjustForParentClientOrigin from wxMotif and all its forks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:08:45 +00:00
Julian Smart
3a0b23eb74
Added some XSyncs to help size calculations, but positioning
...
dialog remains a mystery
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Julian Smart
7edcafa467
Removed some debug code from window headers; added some debug
...
code to try to figure out capture problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Julian Smart
7266b67235
Now compiling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 17:44:23 +00:00
Julian Smart
83df96d63a
Reformatted Motif headers; added __WXX11__ symbol support to common headers;
...
added place-holding src/x11 and include/wx/x11 files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00
Vadim Zeitlin
4116c22156
Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Václav Slavík
eeadb14c3d
removed setup0.h artifacts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:03 +00:00
Václav Slavík
658974ae66
applied ANI images patch and added wxUSE_ICO_CUR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Gilles Depeyrot
f052d487e3
removed unneeded ;
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:12:51 +00:00
Gilles Depeyrot
a103111bae
wxSystemSettings class API face lift: better names for its methods (wxMOTIF)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 17:28:50 +00:00
Gilles Depeyrot
563f868d38
implemented native font stuff for wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 17:27:49 +00:00
Gilles Depeyrot
c4ea29714d
removed trailing ; after DECLARE_NO_COPY_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:08:40 +00:00
Julian Smart
244d3b67ca
#ifdefed out the joystick code, and removed the wxBitmapList addition
...
from the wxBitmap constructor that was causing a crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 12:59:53 +00:00
Gilles Depeyrot
96e169b523
removed duplicated prototype
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 07:29:36 +00:00
Václav Slavík
253293c103
changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:04 +00:00
Gilles Depeyrot
07d08a4dc4
use "..." instead of <...> for wx headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:49:22 +00:00
Vadim Zeitlin
8461e4c253
added wxApp::Yield()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Václav Slavík
f8e3449ceb
added wxSystemSettings::HasFrameDecorations (anybody knows a better name?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:11:56 +00:00
Václav Slavík
d6eaea2845
(blind) fix for wxMotif compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:52:48 +00:00
Vadim Zeitlin
b0ee47ff76
1. reset default item in ~wxWindow (better to be safe)
...
2. blind fix for Motif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 14:59:44 +00:00
Gilles Depeyrot
3c85ada9db
renamed Number method (should be GetCount)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 20:11:12 +00:00
Gilles Depeyrot
d7d38ea412
fixed wxListBox inheritance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 20:05:15 +00:00
Gilles Depeyrot
f11bdd03b9
modified configure to allow configuration of wxMotif under Darwin/Mac OS X
...
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Julian Smart
0cbff1201a
Added wxUSE_DC_CACHEING and associated code to wxMSW
...
Added EnableCache, CacheEnabled to wxDCBase
Added mask source args to DoBlit, Blit
Added cache testing code to dragimag sample
Added wxSystemOptions, regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 10:07:06 +00:00
Julian Smart
9806a47c30
Various wxMotif fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 13:14:28 +00:00
Julian Smart
45f22d48cd
Various fixes for wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 11:07:10 +00:00
Vadim Zeitlin
a2e91a93a8
possible compilation problem fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:31:43 +00:00
Václav Slavík
fd85921189
I moved platform specific code from wxImage to wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:15:36 +00:00
Václav Slavík
fe2e43661e
moved splines rendering code into wxDCBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-13 23:38:57 +00:00
Vadim Zeitlin
cce442ba7c
(blind) fixes for Motif compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 15:54:51 +00:00
Vadim Zeitlin
2e4df4bfaf
1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
...
2. moved ~50% of the event types in their own headers/sources from event.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Vadim Zeitlin
0b5eceb638
dynamic event types actually work with these changes, also corrected more
...
event macro in the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:58:14 +00:00
Vadim Zeitlin
98c9fc2d06
compilation fix (?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 18:26:35 +00:00
Vadim Zeitlin
30764ab524
applied wxNativeFontInfo patch from Derry Bryson (with minor changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 01:00:25 +00:00
Jouk Jansen
5fdff4a5b4
Committing in .
...
Modified Files:
wxWindows/include/wx/motif/menuitem.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-27 11:32:03 +00:00
Unknown (NI)
0bc6abf126
added a wrapper class for opengl contexts (like that used in the gtk and msw
...
ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-30 03:32:39 +00:00
Unknown (NI)
f48d169c4a
applied the patch by Garrick Meeker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 17:31:40 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Ron Lee
236a9de39a
moved wxDash typedef to gdicmn.h
...
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Guillermo Rodriguez Garcia
425652451b
Added wxIcon(const char **) ctor (same as char **)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:34:24 +00:00
Vadim Zeitlin
a6e2b3a831
patches from Ricky Gonzales <gonzales@pyramid3.net>:
...
1. BC++ 5.5 compilation/building fixes
2. wxMSW listctrl will use correct ILC_COLOR flag depending on current display
depth
3. wxFrame::Show() argument is TRUE by default undet GTK/Motif too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:16:12 +00:00
Guillermo Rodriguez Garcia
b3ddc4c2ec
Added support for timer events in Motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 00:59:31 +00:00
Julian Smart
68be9f090f
Added wxDragImage generic implementation and sample; added mask handling to Motif's
...
wxImage::ConvertToBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Julian Smart
8b089c5e8c
Moved wxGLCanvas to more normal positions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00
Václav Slavík
9c0f7642cc
removed duplicate defines of wxSYS_ constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:09:42 +00:00
Stefan Neis
3ccf6cd7ea
long -> wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:21:43 +00:00
Vadim Zeitlin
4a539480fb
missing Init() added to wxMenu(wxCallback) ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Vadim Zeitlin
b3402d0df8
added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
...
already have RADIOBTN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:10:47 +00:00
Vadim Zeitlin
3b59cdbfaf
wxMenuItem::GetLabelFromText() added/documented, bug in wxMenu::FindItem() fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 13:58:41 +00:00
Bart A.M. Jourquin
5a2155efdb
wxControl child of wxControlBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 14:59:14 +00:00
Vadim Zeitlin
674ac8b919
1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
...
2. wxWindow::Create() always takes a wxValidator parameter, even if
!wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Jouk Jansen
1696c17801
Committing in .
...
Patches for VMS
Temporarily patch to get the IMAGE sample compiled in MOTIF-mode
N.B. GetSubImage still gives rubish
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/motif/bitmap.h
wxWindows/src/common/datetime.cpp
wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/motif/bitmap.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:02:12 +00:00
Vadim Zeitlin
0148fe1e2a
wxMotif::wxControl() ctor added, now wxCalendarCtrl compiles ok
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:34:38 +00:00
Vadim Zeitlin
9d9b77552e
1. wxCalendarCtrl
...
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Vadim Zeitlin
e838cc1468
1. wxMotif toolbar works; the toggle buttons have the same width as the other
...
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
**", as in wxGTK
3. added an X error handler to wxMotif (debug only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
982b2cfc58
compilation fixes, doesn't work yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:10:38 +00:00
Vadim Zeitlin
8a0681f933
merging in the toolbar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Vadim Zeitlin
d166a4f8e8
wxCreateMaskedBitmap() is more const correct
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 20:21:28 +00:00
Jouk Jansen
36cc39686a
Committing in .
...
Updated VMS-support
Adding new featrure of other modes to MOTIF to get it compile cleanly.
Modified Files:
wxWindows/docs/readme_vms.txt
wxWindows/include/wx/motif/filedlg.h wxWindows/lib/vms.opt
wxWindows/src/common/descrip.mms wxWindows/src/motif/data.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 12:45:51 +00:00
Vadim Zeitlin
e4e901d18e
compilation fix (long -> wxCoord)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:28:22 +00:00
Vadim Zeitlin
95724b1aa2
Rotated text patch from Hans-Joachim Baader (with some corrections)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00
Vadim Zeitlin
1c4f8f8d18
1. wxMotif::wxFrame derives from wxFrameBase now
...
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +00:00
Julian Smart
c0ab6adfed
Watcom C++ fixup in tbar95.cpp; removed WXWIN_COMPATIBILITY for 'old' menu
...
constructor and event handling; added wxString version of wxGetTempFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 14:41:30 +00:00
Vadim Zeitlin
d465862f71
Motif compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:24:46 +00:00
Vadim Zeitlin
0470b1e6fe
wxTimer/timercmn.cpp change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:19:38 +00:00
Julian Smart
6adaedf0fc
Made various Motif fixes, wxListBox/wxChoice derive from wxControlWithItems,
...
added release.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:53:39 +00:00
George Tasker
9695185a70
Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:50:34 +00:00
Robert Roebling
8487f88742
Added IsTopLevel() as a virtual function.
...
Added fontenum.hto filelist.txt,
Changed window positioning code again,
some more related things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Vadim Zeitlin
c71830c3b6
wxMotif compiles (and runs minimal sample) again after wxMenu changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:23:29 +00:00
Julian Smart
449f38b57e
Do... fixes and OnMenuHighlight correction (so MDI sample now works)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 09:15:42 +00:00
Robert Roebling
76db86e7e1
Minor Motif changes, made scrollsub sample work somehow.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:01:58 +00:00
Vadim Zeitlin
9874b4ee83
1. wxMenu{Item|Bar} modifications for wxMotif
...
2. corrected a crash on startup if wxDataObject is used in Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:19:07 +00:00
Julian Smart
25f4712757
Fixed wxMotif's wxRegion/wxRegionIterator to optionally use wxRects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 08:59:23 +00:00
Julian Smart
af111fc338
Removed lots of wxMotif compile warnings. Copied new install.txt into old
...
install.txt (wxMotif).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:33:13 +00:00
Vadim Zeitlin
12db77cab1
wxMotif compilation fixes for wxDataObject and PROCESS_EVENTS (wxSocket)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 20:16:53 +00:00
Vadim Zeitlin
e1ee679c2e
wxDataObejct and related changes (won't compile right now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:42 +00:00
Michael Bedward
7b65ea1af9
Numerous changes to comply with use of wxCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 03:26:24 +00:00
Vadim Zeitlin
72cdf4c9b3
1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
...
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Vadim Zeitlin
9b64e79868
some fixes after global _T() => T() change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 14:07:48 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Vadim Zeitlin
93ccaed869
wxMotif::wxFont supports encodings too (and shares 99% of font code with wxGTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 14:59:52 +00:00
Vadim Zeitlin
d391a34510
renamed gsockmot.cpp to *.c
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 13:53:26 +00:00
Sylvain Bougnoux
f0599ea919
Factorize timercmm.cpp code
...
Added wxGetCurrentUtime
Put extern declaration in wx/timer.h instead of wx/*/timer.h
Added wxChrono class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:40:04 +00:00
Julian Smart
1044a386f0
Misc. 16-bit compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 15:14:50 +00:00
Guilhem Lavaux
aa6d970619
Updated wxSocket documentation
...
Renamed GSOCK_TIMEOUT to GSOCK_TIMEDOUT
Added wxURL::ConvertFromURI
Use wxUSE_LIBGIF in imaggif.cpp and samples/html/test/test.cpp
Full implementation of "timeout"s in gsocket.c
Non-blocking WaitConnection()/Connect() are supported now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 10:23:22 +00:00
Robert Roebling
ad9edf45f1
Augmented beta to 9,
...
Removed a few old Makefiles,
Added one missing one (blush),
Added first sample makefiles,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-12 19:24:39 +00:00
Robert Roebling
8e877c195b
New makefiles for GTK and Motif, using configure but not
...
libtool and automake.
Numerous Motif crash fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-10 20:08:24 +00:00
Michael Bedward
4d194d6368
Added function GetDefaultSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-02 04:19:49 +00:00
Michael Bedward
e2e04ea4a7
Added wxApp::CheckForKeyUp MB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-30 03:55:59 +00:00
Vadim Zeitlin
b1519886c3
SetIcon added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-28 22:38:39 +00:00
Vadim Zeitlin
813c20a67e
wxMotif fixes and common fixes for socket compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-27 20:12:16 +00:00
Vadim Zeitlin
31528cd3ca
1. more wxMotif fixes
...
2. wxGetNumberFromUser added
3. more compilation fixes when compiling without sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-23 21:03:02 +00:00
Vadim Zeitlin
ee31c392ac
1. Assorted Motif fixes
...
a) tear off menus
b) native dialogs
c) crash in ~wxWindow fixed
d) compilation and linking fixes
2. test code removed from minimal sample, text one compiles without clipboard
3. wxAppBase/wxApp small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-21 16:10:18 +00:00
Karsten Ballüder
ebea0891d0
Made icons configurable via a wxMApp virtual function. Tested on wxGTK only,
...
added it for all ports, though.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-05 11:22:45 +00:00
Vadim Zeitlin
dfe1eee3bb
my wxMotif fixes (merged with Robert's changes), wxMotif compiles, links
...
and runs... until you click in the menu, that is.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-29 12:34:18 +00:00
Robert Roebling
96f201da8b
wxMotif compiles and links now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-23 15:25:23 +00:00
Robert Roebling
da175b2ce4
Motif compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-23 10:03:44 +00:00
Robert Roebling
d75638f85f
Motif compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-21 21:37:49 +00:00
Vadim Zeitlin
af0bb3b161
more Motif fixes (still doesn't compile, but *really* close :-)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-08 19:10:37 +00:00
Robert Roebling
287cada9c7
Just ignore CVS. It's better for you.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-07 19:41:37 +00:00
Vadim Zeitlin
34636400a0
1. wxWindow::IsTopLevel() added and documented
...
2. wxDynamicClass() added and documented
3. first Motif fixes (doesn't compile yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-07 18:26:42 +00:00
Vadim Zeitlin
bcd2b961ff
1. warnings suppressed in wave.cpp
...
2. various fixes to configure/Makefiles - building in another dir works again
3. AC_C_BIGENDIAN replaced with WX_C_BIGENDIAN (much better :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-04 22:25:40 +00:00
Vadim Zeitlin
36a0ce39f2
removing (finally) autogenerated files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 10:00:54 +00:00
Vadim Zeitlin
1a519eb007
headers are now installed by automake too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 08:34:09 +00:00
Julian Smart
e702ff0f08
Menu/toolbar event handling now tries the window with the focus first.
...
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Julian Smart
ca8b28f2ef
Added some missing wxTextCtrl functions: Undo, Redo, CanUndo, CanRedo,
...
CanCopy, CanCut, CanPaste, GetSelection, IsEditable.
Also added wxNotebook::SetTabSize (only implemented on wxMSW but necessary
when using just an icon).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:32:33 +00:00
Vadim Zeitlin
ae8db4dc3a
setup.h for makefile builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 10:36:03 +00:00
Vadim Zeitlin
7491d644e6
Motif compilation fixes (now ok)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 11:09:48 +00:00
Vadim Zeitlin
82e06aa02f
this file is now called setup0.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:46:27 +00:00
Vadim Zeitlin
e146b8c8bf
wxTopLevelWindows is now a wxWindowList, better compatibility with the old
...
wxList in list.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:43:29 +00:00
Vadim Zeitlin
c27eab7e9c
EVT_TEXT_UPDATED bug fixed, text ctrl callbacks simplified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 14:44:21 +00:00
Guilhem Lavaux
7214297d16
* Added threads event propagation. Should compile on GTK (tested).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-27 18:50:54 +00:00
Julian Smart
7bcb11d307
Many changes to the printing classes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 23:06:01 +00:00
Vadim Zeitlin
2900641401
wxCommandEvent::SetString() change - now uses wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-16 18:54:24 +00:00
Vadim Zeitlin
1bfcb0b6c3
some fixes for AIX compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:23:00 +00:00
Vadim Zeitlin
afce4c035f
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 13:23:38 +00:00
Julian Smart
9a05fd8d13
wxUSE_SOCKETS added to setup(0).h; Cygwin corrections; doc tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 23:39:59 +00:00
Julian Smart
721b32e058
DoSetClientSize omissions fixed; some doc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 22:22:13 +00:00
Julian Smart
b23386b266
Fixed wxMSW arrow key bug, changed wxPoem window to a wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 18:04:12 +00:00
Vadim Zeitlin
25b1fc055a
SetSize() fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 12:25:55 +00:00
Julian Smart
ad813b00d5
Some stubs corrections; Motif corrections incl. busy cursor fix; doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 08:02:28 +00:00
Vadim Zeitlin
bfc6fde4b1
GetSize() and GetClientSize() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 11:01:13 +00:00
Julian Smart
2e35f56f6d
Fixed wxMotif's wxExecute again, added OnPaint capability to wxFrame,
...
removed old focus code from wxGTK's ~wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 22:51:03 +00:00
Julian Smart
33b64e6f8b
Added 'tardist' script for creating .tgz archives of wxWin; cured wxExecute
...
crash on wxMotif; added wxHelpControllerBase::SetViewer; added consts to wxColour
== and != operators; changed beta version; fixed wxChoice/wxComboBox bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:55:34 +00:00
Julian Smart
aed0ed3c42
Small Tex2RTF fixes; wxMotif compile fixes (motif.inc, wxCheckListBox);
...
wxMSW wxWindow::IsShown fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 22:00:14 +00:00
Julian Smart
cba2db0c29
Some doc corrections (added blank lines at end of docs); corrected Forty sample
...
dialog behaviour; added dummy menubar constructors; corrected wxMSW wxRegion bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 08:22:29 +00:00
Julian Smart
a91b47e800
Solved wxMotif scrolling display problem; added wxImageModule;
...
added wxRETAINED support in wxMotif; changed wxDC::SetBackground behaviour;
changed OnKeyDown/OnChar behaviour; fixed wxToolBar toggle bugs; fixed
wxImage on wxMotif bug whereby new was used to allocate XImage data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:00:33 +00:00
Julian Smart
d4ec5d3211
Added wxUSE_STREAMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 10:06:17 +00:00
Julian Smart
5b6aa0ff15
Removed some TODOs in the Latex docs; changed wxMotif wxClipboard to match
...
wxGTK/wxMSW syntax; added Ron Kuris' wxExecute patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 21:22:58 +00:00
Julian Smart
dbda9e86f0
Added more makefiles; fixed some samples for Cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:00:23 +00:00
Julian Smart
631f1bfed5
Added wxMenu::UpdateUI to wxMSW, wxGTK, wxMotif, wxStubs; rearranged/debugged
...
docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 13:32:46 +00:00
Julian Smart
98ffbab9d7
Altered font dialog slightly for Motif; added wxUSE_TOOLTIPS to Motif setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 00:46:25 +00:00
Julian Smart
e306597309
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
...
MM_... -> wxMM_...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Robin Dunn
5f83a4540d
Added wxColour::wxColour(unsigned long)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 19:03:55 +00:00
Julian Smart
acbd13a365
Some warnings removed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 11:14:41 +00:00
Julian Smart
4dba84be23
Cured some Latex problems; fixed i declaration; fixed filedlg.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 10:01:34 +00:00
Julian Smart
1f11220943
Consistent naming of e.g. wxUSE_CTRL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 12:37:14 +00:00
Julian Smart
c330a2cf93
Some compile warnings removed; file selector prototypes put in each filedlg.h;
...
Dialog Editor wxGTK makefile hacked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-26 11:51:12 +00:00
Julian Smart
9838df2cef
Added some Motif wxGLCanvas support; some more Motif bugs cured; print dialogs
...
look OK on Motif now; got rid of some #ifdef wxUSE_... instances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-24 14:57:09 +00:00
Julian Smart
bf38cbffd5
Made wxGTK dcps.cpp generic.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-22 11:06:20 +00:00
Vadim Zeitlin
1ccbb61aba
1. wxMotif fixes for compilation in "no compatible" mode
...
2. Common fixes to be able to link minimal sample without stream classes, tree ctrl, list ctrl &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-19 19:36:07 +00:00
Julian Smart
9982bf4c66
Removing redundant files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-19 18:42:35 +00:00
Julian Smart
dc63c944b3
Added wxMotif data object classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-14 15:18:41 +00:00
Julian Smart
2d120f8391
Added some tentative wxMotif clipboard code; did some file formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-14 15:15:39 +00:00
Julian Smart
4ce81a75ef
Added OnKeyDown, OnKeyUp.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-14 11:23:37 +00:00
Julian Smart
4bf78aae34
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
...
changed #ifdef -> #if for wxUSE_STD_IOSTREAM; #ifdefed thread usage in app.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-04 21:51:15 +00:00
Julian Smart
124031d517
Some small corrections and setup.h additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-04 18:34:42 +00:00
Julian Smart
b412f9be50
Lots of wxMotif fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 19:13:35 +00:00
Julian Smart
88150e6073
Fixes to wxMotif scrolling and colours (wxTreeCtrl/wxListCtrl now seem to work
...
well, ta-ra!); fixes to thread.cpp since constants were changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-28 21:32:10 +00:00
Julian Smart
793f619f7f
Some more wxMotif improvements: DrawIcon fixed; generic notebook
...
implementation used. wxGTK's DrawIcon has 2 args added for wxMSW compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-23 21:35:51 +00:00
Julian Smart
94b49b9303
In DialogEd, changed Close to Destroy to make it shut down properly.
...
Various Motif fixes incl. fixing window colours, menu fonts/colours, dialog box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 14:40:38 +00:00
Julian Smart
6f63ec3f93
Just a teeny change -- addition of wxFrame::IsMaximized. For wxMDIChildFrame
...
in wxGTK, is probably always TRUE (always size of client area).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 17:59:50 +00:00
Julian Smart
c0ed460c2e
Sorry folks, a lot of changes to remedy GetFont, GetBrush etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-08 23:26:18 +00:00
Julian Smart
a367b9b3f8
More progress on wxMotif, incl. wxTreeCtrl/wxListCtrl beginning to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-04 10:30:39 +00:00
Julian Smart
16e93305f2
Changed wxRectangle to wxRect. Sorry for the bandwidth...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-03 10:13:41 +00:00
Julian Smart
45d49251ba
Small Motif bug fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-03 09:51:18 +00:00