various warning fixes for icc 9.1 compilation
- variable shadowing - unused code and variables - extra semicolons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -379,22 +379,15 @@ int wxIFFDecoder::ReadIFF()
|
|||||||
// main decoding loop. searches IFF chunks and handles them.
|
// main decoding loop. searches IFF chunks and handles them.
|
||||||
// terminates when BODY chunk was found or dataptr ran over end of file
|
// terminates when BODY chunk was found or dataptr ran over end of file
|
||||||
//
|
//
|
||||||
bool BMHDok = false, CMAPok = false, CAMGok = false;
|
bool BMHDok = false, CAMGok = false;
|
||||||
int bmhd_width = 0, bmhd_height = 0, bmhd_bitplanes = 0, bmhd_transcol = -1;
|
int bmhd_width = 0, bmhd_height = 0, bmhd_bitplanes = 0, bmhd_transcol = -1;
|
||||||
byte bmhd_masking = 0, bmhd_compression = 0;
|
byte bmhd_compression = 0;
|
||||||
long camg_viewmode = 0;
|
long camg_viewmode = 0;
|
||||||
int colors = 0;
|
int colors = 0;
|
||||||
while (dataptr + 8 <= dataend) {
|
while (dataptr + 8 <= dataend) {
|
||||||
// get chunk length and make even
|
// get chunk length and make even
|
||||||
size_t chunkLen = (iff_getlong(dataptr + 4) + 1) & 0xfffffffe;
|
long chunkLen = (iff_getlong(dataptr + 4) + 1) & 0xfffffffe;
|
||||||
#ifdef __VMS
|
if (chunkLen < 0) { // format error?
|
||||||
// Silence compiler warning
|
|
||||||
int chunkLen_;
|
|
||||||
chunkLen_ = chunkLen;
|
|
||||||
if (chunkLen_ < 0) { // format error?
|
|
||||||
#else
|
|
||||||
if (chunkLen < 0) { // format error?
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
bool truncated = (dataptr + 8 + chunkLen > dataend);
|
bool truncated = (dataptr + 8 + chunkLen > dataend);
|
||||||
@@ -406,7 +399,7 @@ int wxIFFDecoder::ReadIFF()
|
|||||||
bmhd_width = iff_getword(dataptr + 8); // width of picture
|
bmhd_width = iff_getword(dataptr + 8); // width of picture
|
||||||
bmhd_height= iff_getword(dataptr + 8 + 2); // height of picture
|
bmhd_height= iff_getword(dataptr + 8 + 2); // height of picture
|
||||||
bmhd_bitplanes = *(dataptr + 8 + 8); // # of bitplanes
|
bmhd_bitplanes = *(dataptr + 8 + 8); // # of bitplanes
|
||||||
bmhd_masking = *(dataptr + 8 + 9);
|
// bmhd_masking = *(dataptr + 8 + 9); -- unused currently
|
||||||
bmhd_compression = *(dataptr + 8 + 10); // get compression
|
bmhd_compression = *(dataptr + 8 + 10); // get compression
|
||||||
bmhd_transcol = iff_getword(dataptr + 8 + 12);
|
bmhd_transcol = iff_getword(dataptr + 8 + 12);
|
||||||
BMHDok = true; // got BMHD
|
BMHDok = true; // got BMHD
|
||||||
@@ -440,7 +433,6 @@ int wxIFFDecoder::ReadIFF()
|
|||||||
wxLogTrace(_T("iff"), _T("Read %d colors from IFF file."),
|
wxLogTrace(_T("iff"), _T("Read %d colors from IFF file."),
|
||||||
colors);
|
colors);
|
||||||
|
|
||||||
CMAPok = true; // got CMAP
|
|
||||||
dataptr += 8 + chunkLen; // to next chunk
|
dataptr += 8 + chunkLen; // to next chunk
|
||||||
} else if (strncmp((char *)dataptr, "CAMG", 4) == 0) { // CAMG ?
|
} else if (strncmp((char *)dataptr, "CAMG", 4) == 0) { // CAMG ?
|
||||||
if (chunkLen < 4 || truncated) {
|
if (chunkLen < 4 || truncated) {
|
||||||
|
@@ -1376,8 +1376,8 @@ wxFlexGridSizer::~wxFlexGridSizer()
|
|||||||
|
|
||||||
void wxFlexGridSizer::RecalcSizes()
|
void wxFlexGridSizer::RecalcSizes()
|
||||||
{
|
{
|
||||||
int nitems, nrows, ncols;
|
int nrows, ncols;
|
||||||
if ( (nitems = CalcRowsCols(nrows, ncols)) == 0 )
|
if ( !CalcRowsCols(nrows, ncols) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const wxPoint pt(GetPosition());
|
const wxPoint pt(GetPosition());
|
||||||
|
@@ -184,11 +184,11 @@ void wxGenericCollapsiblePane::OnStateChange(const wxSize& sz)
|
|||||||
if (top->GetSizer())
|
if (top->GetSizer())
|
||||||
{
|
{
|
||||||
// we have just set the size hints...
|
// we have just set the size hints...
|
||||||
wxSize sz = top->GetSizer()->CalcMin();
|
wxSize szClient = top->GetSizer()->CalcMin();
|
||||||
|
|
||||||
// use SetClientSize() and not SetSize() otherwise the size for
|
// use SetClientSize() and not SetSize() otherwise the size for
|
||||||
// e.g. a wxFrame with a menubar wouldn't be correctly set
|
// e.g. a wxFrame with a menubar wouldn't be correctly set
|
||||||
top->SetClientSize(sz);
|
top->SetClientSize(szClient);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
top->Layout();
|
top->Layout();
|
||||||
|
@@ -393,9 +393,6 @@ void wxFileData::MakeItem( wxListItem &item )
|
|||||||
// wxFileListCtrl
|
// wxFileListCtrl
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
// FIXME: what is this for? It's never read
|
|
||||||
static bool ignoreChanges = false;
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFileListCtrl,wxListCtrl)
|
IMPLEMENT_DYNAMIC_CLASS(wxFileListCtrl,wxListCtrl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxFileListCtrl,wxListCtrl)
|
BEGIN_EVENT_TABLE(wxFileListCtrl,wxListCtrl)
|
||||||
@@ -722,10 +719,8 @@ void wxFileListCtrl::GoToParentDir()
|
|||||||
long id = FindItem( 0, fname );
|
long id = FindItem( 0, fname );
|
||||||
if (id != wxNOT_FOUND)
|
if (id != wxNOT_FOUND)
|
||||||
{
|
{
|
||||||
ignoreChanges = true;
|
|
||||||
SetItemState( id, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
SetItemState( id, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
||||||
EnsureVisible( id );
|
EnsureVisible( id );
|
||||||
ignoreChanges = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -743,9 +738,7 @@ void wxFileListCtrl::GoToDir( const wxString &dir )
|
|||||||
m_dirName = dir;
|
m_dirName = dir;
|
||||||
UpdateFiles();
|
UpdateFiles();
|
||||||
|
|
||||||
ignoreChanges = true;
|
|
||||||
SetItemState( 0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
SetItemState( 0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
||||||
ignoreChanges = false;
|
|
||||||
|
|
||||||
EnsureVisible( 0 );
|
EnsureVisible( 0 );
|
||||||
}
|
}
|
||||||
@@ -818,9 +811,7 @@ void wxFileListCtrl::OnListEndLabelEdit( wxListEvent &event )
|
|||||||
{
|
{
|
||||||
fd->SetNewName( new_name, event.GetLabel() );
|
fd->SetNewName( new_name, event.GetLabel() );
|
||||||
|
|
||||||
ignoreChanges = true;
|
|
||||||
SetItemState( event.GetItem(), wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
SetItemState( event.GetItem(), wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
|
||||||
ignoreChanges = false;
|
|
||||||
|
|
||||||
UpdateItem( event.GetItem() );
|
UpdateItem( event.GetItem() );
|
||||||
EnsureVisible( event.GetItem() );
|
EnsureVisible( event.GetItem() );
|
||||||
|
@@ -1188,18 +1188,18 @@ void wxScrollHelper::HandleOnChar(wxKeyEvent& event)
|
|||||||
|
|
||||||
if ( m_xScrollPosition != xScrollOld )
|
if ( m_xScrollPosition != xScrollOld )
|
||||||
{
|
{
|
||||||
wxScrollWinEvent event(wxEVT_SCROLLWIN_THUMBTRACK, m_xScrollPosition,
|
wxScrollWinEvent evt(wxEVT_SCROLLWIN_THUMBTRACK, m_xScrollPosition,
|
||||||
wxHORIZONTAL);
|
wxHORIZONTAL);
|
||||||
event.SetEventObject(m_win);
|
evt.SetEventObject(m_win);
|
||||||
m_win->GetEventHandler()->ProcessEvent(event);
|
m_win->GetEventHandler()->ProcessEvent(evt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_yScrollPosition != yScrollOld )
|
if ( m_yScrollPosition != yScrollOld )
|
||||||
{
|
{
|
||||||
wxScrollWinEvent event(wxEVT_SCROLLWIN_THUMBTRACK, m_yScrollPosition,
|
wxScrollWinEvent evt(wxEVT_SCROLLWIN_THUMBTRACK, m_yScrollPosition,
|
||||||
wxVERTICAL);
|
wxVERTICAL);
|
||||||
event.SetEventObject(m_win);
|
evt.SetEventObject(m_win);
|
||||||
m_win->GetEventHandler()->ProcessEvent(event);
|
m_win->GetEventHandler()->ProcessEvent(evt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -342,8 +342,6 @@ bool wxSearchCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
m_text = new wxSearchTextCtrl(this, value, style & ~wxBORDER_MASK);
|
m_text = new wxSearchTextCtrl(this, value, style & ~wxBORDER_MASK);
|
||||||
m_text->SetDescriptiveText(_("Search"));
|
m_text->SetDescriptiveText(_("Search"));
|
||||||
|
|
||||||
wxSize sizeText = m_text->GetBestSize();
|
|
||||||
|
|
||||||
m_searchButton = new wxSearchButton(this,
|
m_searchButton = new wxSearchButton(this,
|
||||||
wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN,
|
wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN,
|
||||||
m_searchBitmap);
|
m_searchBitmap);
|
||||||
|
@@ -96,7 +96,7 @@ static void gtk_collapsiblepane_expanded_callback (GObject *object,
|
|||||||
// fire an event
|
// fire an event
|
||||||
wxCollapsiblePaneEvent ev(p, p->GetId(), p->IsCollapsed());
|
wxCollapsiblePaneEvent ev(p, p->GetId(), p->IsCollapsed());
|
||||||
p->GetEventHandler()->ProcessEvent(ev);
|
p->GetEventHandler()->ProcessEvent(ev);
|
||||||
|
|
||||||
// the user asked to explicitely handle the resizing itself...
|
// the user asked to explicitely handle the resizing itself...
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -106,7 +106,7 @@ static void gtk_collapsiblepane_expanded_callback (GObject *object,
|
|||||||
if ( top && top->GetSizer() )
|
if ( top && top->GetSizer() )
|
||||||
{
|
{
|
||||||
// 2) recalculate minimal size of the top window
|
// 2) recalculate minimal size of the top window
|
||||||
wxSize sz = top->GetSizer()->CalcMin();
|
sz = top->GetSizer()->CalcMin();
|
||||||
|
|
||||||
if (top->m_mainWidget)
|
if (top->m_mainWidget)
|
||||||
{
|
{
|
||||||
|
@@ -775,8 +775,6 @@ unsigned int wxComboBox::GetCount() const
|
|||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxComboBox::SetSelection( int n )
|
void wxComboBox::SetSelection( int n )
|
||||||
|
@@ -194,7 +194,7 @@ int wxGtkFileChooser::GetFilterIndex() const
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
return index;
|
return index;
|
||||||
};
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// end wxGtkFileChooser Implementation
|
// end wxGtkFileChooser Implementation
|
||||||
|
@@ -1031,10 +1031,10 @@ void wxGnomePrintDC::DoDrawArc(wxCoord x1,wxCoord y1,wxCoord x2,wxCoord y2,wxCoo
|
|||||||
alpha1 = 0.0;
|
alpha1 = 0.0;
|
||||||
alpha2 = 360.0;
|
alpha2 = 360.0;
|
||||||
}
|
}
|
||||||
else
|
else if ( wxIsNullDouble(radius) )
|
||||||
if (radius == 0.0)
|
|
||||||
{
|
{
|
||||||
alpha1 = alpha2 = 0.0;
|
alpha1 =
|
||||||
|
alpha2 = 0.0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1161,8 +1161,8 @@ void wxGnomePrintDC::DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset, wxC
|
|||||||
int i;
|
int i;
|
||||||
for (i = 1; i < n; i++)
|
for (i = 1; i < n; i++)
|
||||||
{
|
{
|
||||||
int x = points[i].x + xoffset;
|
x = points[i].x + xoffset;
|
||||||
int y = points[i].y + yoffset;
|
y = points[i].y + yoffset;
|
||||||
gs_libGnomePrint->gnome_print_lineto( m_gpc, XLOG2DEV(x), YLOG2DEV(y) );
|
gs_libGnomePrint->gnome_print_lineto( m_gpc, XLOG2DEV(x), YLOG2DEV(y) );
|
||||||
CalcBoundingBox( x, y );
|
CalcBoundingBox( x, y );
|
||||||
}
|
}
|
||||||
@@ -1181,8 +1181,8 @@ void wxGnomePrintDC::DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset, wxC
|
|||||||
int i;
|
int i;
|
||||||
for (i = 1; i < n; i++)
|
for (i = 1; i < n; i++)
|
||||||
{
|
{
|
||||||
int x = points[i].x + xoffset;
|
x = points[i].x + xoffset;
|
||||||
int y = points[i].y + yoffset;
|
y = points[i].y + yoffset;
|
||||||
gs_libGnomePrint->gnome_print_lineto( m_gpc, XLOG2DEV(x), YLOG2DEV(y) );
|
gs_libGnomePrint->gnome_print_lineto( m_gpc, XLOG2DEV(x), YLOG2DEV(y) );
|
||||||
CalcBoundingBox( x, y );
|
CalcBoundingBox( x, y );
|
||||||
}
|
}
|
||||||
|
@@ -33,14 +33,19 @@ gtk_value_changed(GtkRange* range, wxScrollBar* win)
|
|||||||
{
|
{
|
||||||
const int orient = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL;
|
const int orient = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL;
|
||||||
const int value = win->GetThumbPosition();
|
const int value = win->GetThumbPosition();
|
||||||
wxScrollEvent event(eventType, win->GetId(), value, orient);
|
const int id = win->GetId();
|
||||||
event.SetEventObject(win);
|
|
||||||
win->GetEventHandler()->ProcessEvent(event);
|
// first send the specific event for the user action
|
||||||
|
wxScrollEvent evtSpec(eventType, id, value, orient);
|
||||||
|
evtSpec.SetEventObject(win);
|
||||||
|
win->GetEventHandler()->ProcessEvent(evtSpec);
|
||||||
|
|
||||||
if (!win->m_isScrolling)
|
if (!win->m_isScrolling)
|
||||||
{
|
{
|
||||||
wxScrollEvent event(wxEVT_SCROLL_CHANGED, win->GetId(), value, orient);
|
// and if it's over also send a general "changed" event
|
||||||
event.SetEventObject(win);
|
wxScrollEvent evtChanged(wxEVT_SCROLL_CHANGED, id, value, orient);
|
||||||
win->GetEventHandler()->ProcessEvent(event);
|
evtChanged.SetEventObject(win);
|
||||||
|
win->GetEventHandler()->ProcessEvent(evtChanged);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -73,14 +78,15 @@ gtk_event_after(GtkRange* range, GdkEvent* event, wxScrollBar* win)
|
|||||||
|
|
||||||
const int value = win->GetThumbPosition();
|
const int value = win->GetThumbPosition();
|
||||||
const int orient = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL;
|
const int orient = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL;
|
||||||
|
const int id = win->GetId();
|
||||||
|
|
||||||
wxScrollEvent event(wxEVT_SCROLL_THUMBRELEASE, win->GetId(), value, orient);
|
wxScrollEvent evtRel(wxEVT_SCROLL_THUMBRELEASE, id, value, orient);
|
||||||
event.SetEventObject(win);
|
evtRel.SetEventObject(win);
|
||||||
win->GetEventHandler()->ProcessEvent(event);
|
win->GetEventHandler()->ProcessEvent(evtRel);
|
||||||
|
|
||||||
wxScrollEvent event2(wxEVT_SCROLL_CHANGED, win->GetId(), value, orient);
|
wxScrollEvent evtChanged(wxEVT_SCROLL_CHANGED, id, value, orient);
|
||||||
event2.SetEventObject(win);
|
evtChanged.SetEventObject(win);
|
||||||
win->GetEventHandler()->ProcessEvent(event2);
|
win->GetEventHandler()->ProcessEvent(evtChanged);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -527,8 +527,8 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
|
|||||||
|
|
||||||
// if we have a dropdown menu, we use 2 GTK tools internally
|
// if we have a dropdown menu, we use 2 GTK tools internally
|
||||||
wxToolBarToolsList::compatibility_iterator node = m_tools.Item( i );
|
wxToolBarToolsList::compatibility_iterator node = m_tools.Item( i );
|
||||||
wxToolBarTool *tool = (wxToolBarTool*) node->GetData();
|
wxToolBarTool * const tool2 = (wxToolBarTool*) node->GetData();
|
||||||
if ( tool->IsButton() && (tool->GetKind() == wxITEM_DROPDOWN) )
|
if ( tool2->IsButton() && tool2->GetKind() == wxITEM_DROPDOWN )
|
||||||
posGtk++;
|
posGtk++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -251,10 +251,10 @@ static void wxGtkTextApplyTagsFromAttr(GtkWidget *text,
|
|||||||
for (size_t i = 0; i < tabs.GetCount(); i++)
|
for (size_t i = 0; i < tabs.GetCount(); i++)
|
||||||
tagname += wxString::Format(_T(" %d"), tabs[i]);
|
tagname += wxString::Format(_T(" %d"), tabs[i]);
|
||||||
|
|
||||||
const wxWX2MBbuf buf = tagname.mb_str(wxConvUTF8);
|
const wxWX2MBbuf buftag = tagname.utf8_str();
|
||||||
|
|
||||||
tag = gtk_text_tag_table_lookup( gtk_text_buffer_get_tag_table( text_buffer ),
|
tag = gtk_text_tag_table_lookup( gtk_text_buffer_get_tag_table( text_buffer ),
|
||||||
buf );
|
buftag );
|
||||||
if (!tag)
|
if (!tag)
|
||||||
{
|
{
|
||||||
// Factor to convert from 1/10th of a mm into pixels
|
// Factor to convert from 1/10th of a mm into pixels
|
||||||
@@ -270,7 +270,7 @@ static void wxGtkTextApplyTagsFromAttr(GtkWidget *text,
|
|||||||
PangoTabArray* tabArray = pango_tab_array_new(tabs.GetCount(), TRUE);
|
PangoTabArray* tabArray = pango_tab_array_new(tabs.GetCount(), TRUE);
|
||||||
for (size_t i = 0; i < tabs.GetCount(); i++)
|
for (size_t i = 0; i < tabs.GetCount(); i++)
|
||||||
pango_tab_array_set_tab(tabArray, i, PANGO_TAB_LEFT, (gint)(tabs[i] * factor));
|
pango_tab_array_set_tab(tabArray, i, PANGO_TAB_LEFT, (gint)(tabs[i] * factor));
|
||||||
tag = gtk_text_buffer_create_tag( text_buffer, buf,
|
tag = gtk_text_buffer_create_tag( text_buffer, buftag,
|
||||||
"tabs", tabArray, NULL );
|
"tabs", tabArray, NULL );
|
||||||
pango_tab_array_free(tabArray);
|
pango_tab_array_free(tabArray);
|
||||||
}
|
}
|
||||||
@@ -951,7 +951,6 @@ wxString wxTextCtrl::GetValue() const
|
|||||||
{
|
{
|
||||||
wxCHECK_MSG( m_text != NULL, wxEmptyString, wxT("invalid text ctrl") );
|
wxCHECK_MSG( m_text != NULL, wxEmptyString, wxT("invalid text ctrl") );
|
||||||
|
|
||||||
wxString tmp;
|
|
||||||
if ( IsMultiLine() )
|
if ( IsMultiLine() )
|
||||||
{
|
{
|
||||||
GtkTextIter start;
|
GtkTextIter start;
|
||||||
@@ -967,8 +966,6 @@ wxString wxTextCtrl::GetValue() const
|
|||||||
const gchar *text = gtk_entry_get_text( GTK_ENTRY(m_text) );
|
const gchar *text = gtk_entry_get_text( GTK_ENTRY(m_text) );
|
||||||
return wxGTK_CONV_BACK(text);
|
return wxGTK_CONV_BACK(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tmp;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxFontEncoding wxTextCtrl::GetTextEncoding() const
|
wxFontEncoding wxTextCtrl::GetTextEncoding() const
|
||||||
|
@@ -2002,9 +2002,10 @@ gtk_scrollbar_event_after(GtkRange* range, GdkEvent* event, wxWindow* win)
|
|||||||
|
|
||||||
const int orient = wxWindow::OrientFromScrollDir(
|
const int orient = wxWindow::OrientFromScrollDir(
|
||||||
win->ScrollDirFromRange(range));
|
win->ScrollDirFromRange(range));
|
||||||
wxScrollWinEvent event(wxEVT_SCROLLWIN_THUMBRELEASE, win->GetScrollPos(orient), orient);
|
wxScrollWinEvent evt(wxEVT_SCROLLWIN_THUMBRELEASE,
|
||||||
event.SetEventObject(win);
|
win->GetScrollPos(orient), orient);
|
||||||
win->GTKProcessEvent(event);
|
evt.SetEventObject(win);
|
||||||
|
win->GTKProcessEvent(evt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -8,8 +8,17 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "wx/app.h"
|
#include "wx/wxprec.h"
|
||||||
#include "wx/log.h"
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/app.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/evtloop.h"
|
#include "wx/evtloop.h"
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
Reference in New Issue
Block a user