摘要:
问题描述如题,也查到了一个buglist:http://trac.wxwidgets.org/ticket/13283这个问题至今没有彻底解决,但是其中也说道了一个workaround方法:Replying to jedimark: [...] I did discover a workaround.. In the application compatibility settings check Disable Desktop Composition and the problem vanishes.. I also have a wxGLCanvas inside a wxScrolled 阅读全文
摘要:
在c++的chrono中没有找到相应的实现,只好从boost里面找了,代码如下:#include// Get current time from the clock, using microseconds resolutionconst boost::posix_time::ptime now = boost::posix_time::microsec_clock::local_time();// Get the time offset in current dayconst boost::posix_time::time_duration td = now.time_of_day();fra 阅读全文