mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Use GetStringSelection() instead of GetValue(). This will return the correct value on all OS.
This commit is contained in:
parent
d0cb2d1455
commit
3704157a17
@ -1,3 +1,8 @@
|
||||
2004-05-17 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: The chapter editor did not honor the values
|
||||
selected for 'country' and 'language'.
|
||||
|
||||
2004-05-15 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Audio sync for Vorbis was partially broken
|
||||
|
@ -1089,7 +1089,7 @@ tab_chapters::on_language_code_selected(wxCommandEvent &evt) {
|
||||
|
||||
clanguage = &GetChild<KaxChapterLanguage>(*cdisplay);
|
||||
*static_cast<EbmlString *>(clanguage) =
|
||||
wxMB(extract_language_code(cob_language_code->GetValue()));
|
||||
wxMB(extract_language_code(cob_language_code->GetStringSelection()));
|
||||
|
||||
label = create_chapter_label(*t->chapter);
|
||||
tc_chapters->SetItemText(id, label);
|
||||
@ -1123,7 +1123,7 @@ tab_chapters::on_country_code_selected(wxCommandEvent &evt) {
|
||||
if (cdisplay == NULL)
|
||||
return;
|
||||
|
||||
if (cob_country_code->GetValue().Length() == 0) {
|
||||
if (cob_country_code->GetStringSelection().Length() == 0) {
|
||||
i = 0;
|
||||
while (i < cdisplay->ListSize()) {
|
||||
if (EbmlId(*(*cdisplay)[i]) == KaxChapterCountry::ClassInfos.GlobalId) {
|
||||
@ -1136,7 +1136,7 @@ tab_chapters::on_country_code_selected(wxCommandEvent &evt) {
|
||||
}
|
||||
ccountry = &GetChild<KaxChapterCountry>(*cdisplay);
|
||||
*static_cast<EbmlString *>(ccountry) =
|
||||
wxMB(cob_country_code->GetValue());
|
||||
wxMB(cob_country_code->GetStringSelection());
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user