diff options
author | Rr42 | 2018-05-30 16:57:42 +0530 |
---|---|---|
committer | Rr42 | 2018-05-30 16:57:42 +0530 |
commit | 8f1f63ff88e62cb47cad286481033275e8490650 (patch) | |
tree | 5e5711fb6434e39e0932076438b73b46f098d52b /ldmicro/ldmicro.cpp | |
parent | eb8f6932fe45f550bc2b77c1b3e578884ed60d91 (diff) | |
download | LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.gz LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.bz2 LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.zip |
ported GetSaveFileName function from windows.h
Diffstat (limited to 'ldmicro/ldmicro.cpp')
-rw-r--r-- | ldmicro/ldmicro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index ca86246..984ffbb 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -148,7 +148,7 @@ static void CompileProgram(BOOL compileAs) memset(&ofn, 0, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); - ofn.hInstance = Instance; + ofn.parentWindow = parentWindow; ofn.lpstrTitle = _("Compile To"); if(Prog.mcu && Prog.mcu->whichIsa == ISA_ANSIC) { ofn.lpstrFilter = C_PATTERN; |