Adding GetPrevSibling() & GetNextSibling() in winundef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -516,25 +516,29 @@ $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
|
|||||||
|
|
||||||
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
|
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
|
||||||
cd $(DOCDIR)\latex\wx
|
cd $(DOCDIR)\latex\wx
|
||||||
-copy *.bmp *.wmf $(DOCDIR)\pdf
|
-copy *.wmf $(DOCDIR)\pdf
|
||||||
|
-copy *.bmp $(DOCDIR)\pdf
|
||||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
|
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
|
||||||
cd $(THISDIR)
|
cd $(THISDIR)
|
||||||
|
|
||||||
$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
|
$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
|
||||||
cd $(DOCDIR)\latex\porting
|
cd $(DOCDIR)\latex\porting
|
||||||
-copy *.bmp *.wmf $(DOCDIR)\pdf
|
-copy *.wmf $(DOCDIR)\pdf
|
||||||
|
-copy *.bmp $(DOCDIR)\pdf
|
||||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
|
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
|
||||||
cd $(THISDIR)
|
cd $(THISDIR)
|
||||||
|
|
||||||
$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
|
$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
|
||||||
cd $(DOCDIR)\latex\proplist
|
cd $(DOCDIR)\latex\proplist
|
||||||
-copy *.bmp *.wmf $(DOCDIR)\pdf
|
-copy *.wmf $(DOCDIR)\pdf
|
||||||
|
-copy *.bmp $(DOCDIR)\pdf
|
||||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
|
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
|
||||||
cd $(THISDIR)
|
cd $(THISDIR)
|
||||||
|
|
||||||
$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
|
$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
|
||||||
cd $(DOCDIR)\latex\techref
|
cd $(DOCDIR)\latex\techref
|
||||||
-copy *.bmp *.wmf $(DOCDIR)\pdf
|
-copy *.wmf $(DOCDIR)\pdf
|
||||||
|
-copy *.bmp $(DOCDIR)\pdf
|
||||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
|
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
|
||||||
cd $(THISDIR)
|
cd $(THISDIR)
|
||||||
|
|
||||||
|
@@ -207,6 +207,26 @@
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// GetPrevSibling
|
||||||
|
|
||||||
|
#ifdef GetPrevSibling
|
||||||
|
#undef GetPrevSibling
|
||||||
|
inline HWND GetPrevSibling(HWND hwnd)
|
||||||
|
{
|
||||||
|
return GetWindow(hwnd,GW_HWNDPREV);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// GetNextSibling
|
||||||
|
|
||||||
|
#ifdef GetNextSibling
|
||||||
|
#undef GetNextSibling
|
||||||
|
inline HWND GetNextSibling(HWND hwnd)
|
||||||
|
{
|
||||||
|
return GetWindow(hwnd,GW_HWNDNEXT);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// For WINE
|
// For WINE
|
||||||
|
|
||||||
#if defined(GetWindowStyle) || defined(__WXWINE__)
|
#if defined(GetWindowStyle) || defined(__WXWINE__)
|
||||||
|
@@ -117,6 +117,7 @@ COMMONOBJS = \
|
|||||||
$(COMMDIR)\image.obj \
|
$(COMMDIR)\image.obj \
|
||||||
$(COMMDIR)\imaggif.obj \
|
$(COMMDIR)\imaggif.obj \
|
||||||
$(COMMDIR)\imagjpeg.obj \
|
$(COMMDIR)\imagjpeg.obj \
|
||||||
|
$(COMMDIR)\imagpcx.obj \
|
||||||
$(COMMDIR)\imagpnm.obj \
|
$(COMMDIR)\imagpnm.obj \
|
||||||
$(COMMDIR)\intl.obj \
|
$(COMMDIR)\intl.obj \
|
||||||
$(COMMDIR)\ipcbase.obj \
|
$(COMMDIR)\ipcbase.obj \
|
||||||
@@ -836,6 +837,11 @@ $(COMMDIR)/imagjpeg.obj: $*.$(SRCSUFF)
|
|||||||
$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
|
$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
|
||||||
<<
|
<<
|
||||||
|
|
||||||
|
$(COMMDIR)/imagpcx.obj: $*.$(SRCSUFF)
|
||||||
|
cl @<<
|
||||||
|
$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
|
||||||
|
<<
|
||||||
|
|
||||||
$(COMMDIR)/imagpng.obj: $*.$(SRCSUFF)
|
$(COMMDIR)/imagpng.obj: $*.$(SRCSUFF)
|
||||||
cl @<<
|
cl @<<
|
||||||
$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
|
$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
|
||||||
|
@@ -152,6 +152,7 @@ COMMONOBJS = \
|
|||||||
..\common\$D\image.obj \
|
..\common\$D\image.obj \
|
||||||
..\common\$D\imaggif.obj \
|
..\common\$D\imaggif.obj \
|
||||||
..\common\$D\imagjpeg.obj \
|
..\common\$D\imagjpeg.obj \
|
||||||
|
..\common\$D\imagpcx.obj \
|
||||||
..\common\$D\imagpng.obj \
|
..\common\$D\imagpng.obj \
|
||||||
..\common\$D\imagpnm.obj \
|
..\common\$D\imagpnm.obj \
|
||||||
..\common\$D\intl.obj \
|
..\common\$D\intl.obj \
|
||||||
|
Reference in New Issue
Block a user