wxPropertyGrid 1.2.5のMake

件のMake時のエラーが、Closeになっていたのでコメントを参考にソースをいじってみる。
http://sourceforge.net/tracker/index.php?func=detail&aid=1619351&group_id=133406&atid=727081
advprops.cppで、

#include

とされていたのをコメントアウトし、
ファイルの頭の方で、

#include "wx/msw/private.h"

を追加し、Make。
たしかに最初のほうに出ていたエラーは無くなった。しかしまだエラーはある・・・。


./propgrid.cpp: In member function `void wxPGProperty::ShowError(const wxString&)':
./propgrid.cpp:922: error: invalid static_cast from type `wxWindow*' to type `const wxFrame*'
./propgrid.cpp:922: error: incomplete type `wxFrame' used in nested name specifier
./propgrid.cpp:925: error: invalid use of undefined type `struct wxFrame'
../../../include/wx/log.h:74: error: forward declaration of `struct wxFrame'
./propgrid.cpp: In member function `bool wxPropertyGrid::DoSelectProperty(wxPGProperty*, unsigned int)':
./propgrid.cpp:8289: error: `::SendMessage' has not been declared
./propgrid.cpp:8289: error: `GetHwndOf' undeclared (first use this function)
./propgrid.cpp:8289: error: (Each undeclared identifier is reported only once for each function it appears in.)
./propgrid.cpp:8289: error: `EM_SETMARGINS' undeclared (first use this function)
./propgrid.cpp:8289: error: `EC_LEFTMARGIN' undeclared (first use this function)
./propgrid.cpp:8289: error: `EC_RIGHTMARGIN' undeclared (first use this function)
./propgrid.cpp:8289: error: `MAKELONG' undeclared (first use this function)
./propgrid.cpp:8427: error: invalid static_cast from type `wxWindow*' to type `const wxFrame*'
./propgrid.cpp:8427: error: incomplete type `wxFrame' used in nested name specifier
./propgrid.cpp:8429: error: invalid use of undefined type `struct wxFrame'
../../../include/wx/log.h:74: error: forward declaration of `struct wxFrame'
make: *** [propgridlib_propgrid.o] Error 1
と言う事で、propgrid.cppの頭でも、

#include "wx/msw/private.h"

を追加。途中で出ていた〜undeclaredのエラーは消えたが、wxFrame関係のエラーは残っている。で、さらに頭の方に、

#include "wx/frame.h"

を追加するとMakeが通った。めでたしめでたし。


SourceForge.netに報告しようかと思って、アカウントを作ってみたがやっぱりやめた。
英語力が欲しい・・・。
会社に居る中国人(なぜかEnglish only)ともまともに話が出来んし。