PCSX2 Documentation/WxWidgets Coding Strategies: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 88: | Line 88: | ||
</source> | </source> | ||
... So the moral of the story is: Use | ... So the moral of the story is: Use <code>GetEventHandler()</code> when possible (basically anything except the wxApp object), and use <code lang="cpp">AddPendingEvent()</code> unless you need a return code ''and'' know you're on the main GUI thread. | ||
< | |||
when possible (basically anything except the wxApp object), and use | |||
< | |||
unless you need a return code ''and'' know you're on the main GUI thread. | |||
==Guidelines when Using Windows/Linux Specific Code== | ==Guidelines when Using Windows/Linux Specific Code== |