Julian Smart
285c885e12
Used gpointer for callback arg to prevent compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 14:00:34 +00:00
Robert Roebling
02b1952cd9
Added support for wxListBox::SetFirstItem() directly
...
after creating the listbox. If you now call this
and delete the listbox directly afterwards, you'll
get problems since the code waits for idle time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-23 11:32:30 +00:00
Robert Roebling
c3728eafab
Set wxLB_SINGLE style if no style is set.
...
Eat <Enter> presses so that no item gets unselected
in single mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:04:37 +00:00
Robert Roebling
e55ff14df0
Minor correction to listbox::SetFirstItem so that
...
it doesn't scroll beyond the legal range.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:38:07 +00:00
Robert Roebling
2acd3b1ae2
Completely blind implementation of wxListBox::SetFirstItem().
...
Cannot be worse than nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 20:39:04 +00:00
Jouk Jansen
27df579a6f
Committing in .
...
Patches for the wxGTK compilation on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/include/wx/gtk/app.h
wxWindows/samples/minimal/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Jouk Jansen
3fa056ab78
Committing in .
...
VMS/GTK compile support
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/samples/minimal/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/common/resource.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/filedlg.cpp
wxWindows/src/gtk/fontdlg.cpp wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/unix/descrip.mms wxWindows/src/unix/fontenum.cpp
Added Files:
wxWindows/lib/vms_gtk.opt
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:00:27 +00:00
Václav Slavík
ac8ae254b4
background color set to wxSYS_COLOUR_LISTBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:13:50 +00:00
Robert Roebling
846e1424e2
A no-change for scroll events.
...
Added y-axis to wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
Robert Roebling
c72b150f5d
Applied listbox isselected fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:53:37 +00:00
Robert Roebling
1e8d2f694e
Distrib things,
...
Fixed typo in wxCheckListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:11:48 +00:00
Robert Roebling
16c1f79c04
New event locking.
...
Removed CVS trash.
Some compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:45:29 +00:00
Robert Roebling
071a2d7814
Include changes again. Something is wrong with CVS...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:46:55 +00:00
Vadim Zeitlin
f68586e51b
wxWindow::GetBestSize() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Robert Roebling
4349acd401
wxListBox now sends events using AddPendingEvent(),
...
I wonder if that really is good.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:47:38 +00:00
Robert Roebling
354aa1e366
Some work on tabbing and menu accels,
...
Added a missing "Activate()" to docvwmdi sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 15:08:33 +00:00
Vadim Zeitlin
eb553cb25b
1. corrected uninitialised variable (which led to crash) in wxListBox
...
2. corrected assert failures in wxChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:54:58 +00:00
Robert Roebling
11e1c70d8e
Small distrib changes,
...
Use GTK's native insert for wxListBox,
Compile pacthes for AIX,
wxClipboard things,
Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
Ignore toolbar size in wxFrame::Get/SetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00
Vadim Zeitlin
6c8a980fc4
1. sorted wxListBox and wxComboBox seem to work under wxGTK
...
2. to support this, new class wxControlWithItems added (ctrlsub.h/cpp) and the
controls sample modified to test it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 18:00:39 +00:00
Vadim Zeitlin
2ee3ee1bc8
wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
...
to support sorting, also compilation fixes in dataobj.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:55:27 +00:00
Robert Roebling
e115e77131
Applied a few patches,
...
Put some life into iODBC again,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:32:40 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Robert Roebling
f7a11f8c8e
Updated configure (not only configure.in)
...
Refresh improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 19:38:05 +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
Robert Roebling
9b7e522ae9
Applied a few old patches,
...
Changed dclick handling in wxFileDialog,
Added cursor code to wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:03:48 +00:00
Robert Roebling
5e014a0c44
Corrected filelist.txt a little - one gsocket.c is enough,
...
Corrected cursors - not yet perfect,
Added some tests to scroll sample
Made wxScrolledWindow::Scroll() call Refresh(),
Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
Added activate event for wxMDIChildFrame
Implemented wxSIMPLE_BORDER for wxWindow (no controls),
Tried to correct positioning upon start-up - no way,
Rewrote catching of scroll events - page-up, page-down, up and down
work now. Don't know what TOP and BOTTOM are used for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:13:45 +00:00
Vadim Zeitlin
014b0d064e
unused parameter warnings suppressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:49:30 +00:00
Harco de Hilster
91f491639e
Changed AppendCommon (called by all Append methods) so it doesn't
...
call ApplyWidgetStyle (which applies the current style to all list_items,
which should already have the right style), but instead only applies
the style to the new list_item. This results in a *great* speedup for large
listboxes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 19:32:20 +00:00
Robert Roebling
65045edde4
Added wxFFileStream base on wxFFile (as opposed to wxFile)
...
Implemented the "endl" thing for text streams,
Corrected cursor display for text ctrls,
Corrected the strange spin button behaviour when dynamically
changing its range
Corrcected bug in wxListBox when programmatically unselecting
an item in multi-select mode (bug reports are getting esoteric)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-22 16:12:48 +00:00
Robert Roebling
4dcaf11a7b
Small distrib updates,
...
tried to find a bug in html which was somewhere else,
added wxYield() call to wxBeginBusyCursor() which
should make the cursor appear immediately,
corrected wxMiniFrame so that clicking on the titlebar
makes it come to the front
Used CreateBase() in all controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-27 20:23:13 +00:00
Robert Roebling
953704c1c7
Corrected wxlistBox, wxRadioBox, wxComboBox and
...
wxChoice in that they do no longer send events
after programmatic calls
Corrected wxStaticBitmap
Reimplemented wxRadioButton as per wxMSW
Updated docs for the above
Update testconf for socket changes
Other minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-22 23:28:55 +00:00
Robert Roebling
ce4169a4d1
Added a few #if wxUSE_XXX
...
Regrouped image format handlers
Updated the rest accordingly
Added changes.txt for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-15 20:21:59 +00:00
Robert Roebling
dcf924a345
Added zillions of #if wxUSE_XXX
...
Removed cmndlgs usage of wxSizer and constraints
Changed occurences of wxConv_xxx to wxConvXxxx and
changed some wxConvLibc to wxConvCurrent
Added Unicode tests to typetests (not finished)
Compile fix for wxString in Unicode mode - we have
to use the "experimental" printf then, I guess.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 23:04:05 +00:00
Ove Kaaven
002f42185d
The Unicode handling fixes my app seemed to need.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 14:51:25 +00:00
Vadim Zeitlin
88ac883a0d
new makefiles (part I)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:32:12 +00:00
Robert Roebling
74505862d0
Updated distrib.
...
Corrected listbox dclick.
Modified char/key event stuff.
Added WXWIN_COMPATIBILITY_2 = 1 to setup.hin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 09:08:27 +00:00
Robert Roebling
7a30ee8f2c
Correxted myfixed widget to prevent warnings from GTK
...
Changed listbox dclick emission
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 14:49:18 +00:00
Robert Roebling
a2053b27b3
Small modifications to Vadims changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:02:43 +00:00
Vadim Zeitlin
f03fc89fff
wxWindow split into wxWindowBase and wxWindow (wxGTK part)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 22:17:03 +00:00
Robert Roebling
72a16063d3
background colour changes for listbox and combobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 12:56:25 +00:00
Robert Roebling
acfd422afa
New idle handling. Only that.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-27 19:32:19 +00:00
Robert Roebling
2b07d71308
Had to change the time point, when widgets are
...
created (no longer forced). This seems to break
wxNotebook...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 21:57:18 +00:00
Ove Kaaven
07fa75bc31
Another Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 22:39:31 +00:00
Ove Kaaven
b5be07d450
Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 22:19:28 +00:00
Ove Kaaven
ed9b9841b3
OK, enough for today. To be continued tomorrow...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 22:47:16 +00:00
Robert Roebling
034be8882c
Here it comes:
...
Doc updates
Makefile doesn't strip anylonger
Makefile adapted to /src/unix etc
Added wxLB_ALWAYS_SB
Added MWM window manager hints
Fixed event handling bugs that (among others) caused
the wxListBox misbeahiour
Rwwrote GtkmyFixed for GTK 1.2
Made data requests etc in wxClipboadr asynchronous
Added underscores to menus (some)
Tried in vain to make wxTextCtrl (and its GtkTable)
behave correctly. The bottom text control in the
controls samples still misbehaves upon start-up.
did I change notebook.cpp ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 18:01:17 +00:00
Robert Roebling
d345e841da
With the exceptions of DnD, wxGTk now works with
...
both GTK 1.0.6 and GTK 1.2.1 - the latter still
produces warnings and blah.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:14:30 +00:00
J. Russell Smyth
da7b3583d8
1 - fixed listbox.cpp to work with events with m_commandString member as wxString (fixing to match recent change)
...
2 - made wxSystemSettings::GetSystemColour(wxSYS_COLOUR_GRAYTEXT) return better value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-17 11:11:15 +00:00
Vadim Zeitlin
bb0ca8dfcc
InsertItems() implemented for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 13:50:44 +00:00
Robert Roebling
a7ac4461ab
Dialog items inherit parent's font now
...
Augmented beta to 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:04:46 +00:00