[問題] 想問有關wxWidgets的問題...

作者: easterday (....)   2024-08-16 01:25:52
開發平台(Platform): (Ex: Win10, Linux, ...)
Win11
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
mingw-w64 + msys2
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
wxWidgets
問題(Question):
最近稍微看一下wxWidgets, 網路上的教科書是這本
(https://www.wxwidgets.org/docs/book/)
因為沒有CD-ROM範例檔案,所以我去github上搜尋
找到了這個
https://github.com/JarlPed/Cross-Platform-GUI-Programming-with-wxWidgets
看到chap03就卡住了
為什麼都編不過啊?
網頁上面有一個patch,我有看過,也有改上去了,但應該不是重點
重點是這個project裡面疑似有缺檔案吧...
我的作業檔
[
https://1drv.ms/u/c/e70dd04afa100356/EY8h5T3SG5JOlynUfOLDPJYB-pD64zJ5gE5MOOAoutRNWQ?e=4%3aIgSr9o&sharingv2=true&fromShare=true&at=9
]
似乎這個project沒有編寫wxApp和wxFrame的類別,是嗎?
有牛人可以幫忙看看嗎?
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔)
補充說明(Supplement):
作者: LPH66 (-6.2598534e+18f)   2024-08-16 03:29:00
你的 wxWidgets 版本是?這個 repo 作者有說書作者似乎是用 2.6.0, 但他的 repo有更新語法到 3.2 版適用
作者: easterday (....)   2024-08-16 16:02:00
我用3.2

Links booklink

Contact Us: admin [ a t ] ucptt.com