Small compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
src/wxvc.dsp
|
src/wxvc.dsp
|
||||||
src/wxvc.dsw
|
src/wxvc.dsw
|
||||||
src/wxvc6.dsp
|
|
||||||
src/wxvc6.dsw
|
|
||||||
src/wxvc_dll.dsp
|
src/wxvc_dll.dsp
|
||||||
src/wxvc_dll.dsw
|
src/wxvc_dll.dsw
|
||||||
|
|
||||||
|
@@ -397,6 +397,17 @@ Notes:
|
|||||||
|
|
||||||
(a missing bracket).
|
(a missing bracket).
|
||||||
|
|
||||||
|
- If there's a problem with the copy command in
|
||||||
|
src/msw/makefile.g95, you may need to change the relevant
|
||||||
|
section to the following:
|
||||||
|
|
||||||
|
COPY = command /c copy
|
||||||
|
$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
|
||||||
|
$(COPY) ..\\common\\dosyacc.c ..\\common\\y_tab.c
|
||||||
|
|
||||||
|
$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
|
||||||
|
$(COPY) ..\\common\\doslex.c ..\\common\\lex_yy.c
|
||||||
|
|
||||||
References:
|
References:
|
||||||
|
|
||||||
- The GNU-WIN32 site is at
|
- The GNU-WIN32 site is at
|
||||||
|
@@ -699,6 +699,7 @@ void wxTabView::ClearTabs(bool deleteTabs)
|
|||||||
layerNode = nextLayerNode;
|
layerNode = nextLayerNode;
|
||||||
}
|
}
|
||||||
m_noTabs = 0;
|
m_noTabs = 0;
|
||||||
|
m_tabSelection = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1024,6 +1025,9 @@ void wxTabView::SetBackgroundColour(const wxColour& col)
|
|||||||
|
|
||||||
void wxTabView::SetTabSelection(int sel, bool activateTool)
|
void wxTabView::SetTabSelection(int sel, bool activateTool)
|
||||||
{
|
{
|
||||||
|
if ( sel==m_tabSelection )
|
||||||
|
return;
|
||||||
|
|
||||||
int oldSel = m_tabSelection;
|
int oldSel = m_tabSelection;
|
||||||
wxTabControl *control = FindTabControlForId(sel);
|
wxTabControl *control = FindTabControlForId(sel);
|
||||||
wxTabControl *oldControl = FindTabControlForId(m_tabSelection);
|
wxTabControl *oldControl = FindTabControlForId(m_tabSelection);
|
||||||
|
@@ -1001,7 +1001,7 @@ bool wxFileDataObject::GetDataHere(void *pData) const
|
|||||||
#endif // Unicode/Ansi
|
#endif // Unicode/Ansi
|
||||||
|
|
||||||
// set start of filenames list (null separated)
|
// set start of filenames list (null separated)
|
||||||
wxChar *pbuf = (BYTE *)pDrop + sizeof(DROPFILES);
|
wxChar *pbuf = (wxChar*) ((BYTE *)pDrop + sizeof(DROPFILES));
|
||||||
|
|
||||||
size_t count = m_filenames.GetCount();
|
size_t count = m_filenames.GetCount();
|
||||||
for (size_t i = 0; i < count; i++ )
|
for (size_t i = 0; i < count; i++ )
|
||||||
|
Reference in New Issue
Block a user