mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix crash in wine (it not works.)
It was sending the notify early, and we didn't have tabs set up yet. Fixes #4173, at least for the current wine-1.6 Ubuntu packages.
This commit is contained in:
parent
4cc6171cf9
commit
b06fdfeb02
1 changed files with 9 additions and 4 deletions
|
@ -16,11 +16,16 @@ public:
|
|||
void ShowTab(HWND pageHandle);
|
||||
void NextTab(bool cycle);
|
||||
void PreviousTab(bool cycle);
|
||||
int CurrentTabIndex() { return currentTab; };
|
||||
HWND CurrentTabHandle() { return tabs[currentTab].pageHandle; };
|
||||
int CurrentTabIndex() { return currentTab; }
|
||||
HWND CurrentTabHandle() {
|
||||
if (currentTab < 0 || currentTab >= (int)tabs.size()) {
|
||||
return NULL;
|
||||
}
|
||||
return tabs[currentTab].pageHandle;
|
||||
}
|
||||
void SetShowTabTitles(bool enabled);
|
||||
void SetIgnoreBottomMargin(bool enabled) { ignoreBottomMargin = enabled; };
|
||||
bool GetShowTabTitles() { return showTabTitles; };
|
||||
void SetIgnoreBottomMargin(bool enabled) { ignoreBottomMargin = enabled; }
|
||||
bool GetShowTabTitles() { return showTabTitles; }
|
||||
void SetMinTabWidth(int w);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue