convert GM CGamDoc from MFC to wx#135
Conversation
Because some GShr code expects code compatibility between GM/GmDoc and GP/GamDoc, some GP code had to be changed also.
also improve wxNativeContainerWindowMixin
Note that unlike MFC CView derived from CWnd, wxView is NOT a wxWindow; they are always separate objects
|
Hi Bill, Just a heads up... I see your PR but won't be able to get to it for at least a couple days. -Dale |
|
Sorry, this really got away from me over the holidays. I'm on it now. |
There was a problem hiding this comment.
Finished looking at the code and all looks fine to me. Many mods are just redirection changes and most of the rest are more boilerplate in nature as we go.
During some cursory run tests I noticed that the CBPlay program is scaling the view and scrollbox bitmaps and CBDesign is not. I think this is because you haven't really started the conversion of the CBPlay codebase yet. I just mention it in case I'm wrong.
One other strange thing is when I first select a GAM or GSN file it will tell me it's going to upgrade the older format (which is totally fine) but then says it can't find the GBX file yet the message box shows the path and the file is definitely at that path. The second time through it found it fine even though I didn't save any files. I think it may have something to do with the program's starting "current working directory".
I'll merge if you're happy with this assessment. Sorry about the review delay. We had a hectic holiday season this year.
-Dale
I have changed the resource and manifest configuration for
I don't remember seeing this, but if it only happens the first time one runs, I would expect not to remember it. For now, I won't do anything about this either.
Yes, please merge. |
I like the rescaled version of HOWEVER.... I prefer the So this is a can kicked down the road for now until we get enough of wxWidgets capabilities are available to handle the HiDPI scaling natively.
Not a problem. There are much bigger fish to fry at this point. -Dale |
|
Merged. -Dale |
No description provided.